Abhay Anant Jahagirdar wrote:
>
> You are doing it right but, for the URL string use " "(double quotes).
> you should be fine
> https://docs.python.org/2.0/ref/strings.html
You do understand that there is absolutely no difference between a
single-quoted string and a double-quoted string in Python,
Responding on-list:
On Tue, Sep 16, 2014 at 9:30 PM, DJ Webre wrote off-list:
> That was it. Thanks all for the assistance. I will also incorporate the
> suggestions in future request for help. Thanks again.
Glad I could be of help :).
Regards,
--
Zach
___
On Sep 16, 2014 5:27 PM, "Zachary Ware"
wrote:
> By the way, it's usually best to just copy and paste your code and
> error messages as text in the body of the email rather than attaching
> an image, and embedding the image in a Word document just makes it
> harder to see what's going on. Just f
On Tue, Sep 16, 2014 at 2:13 PM, DJ Webre
wrote:
> I am trying to convert a program from interactive to script file.
>
> The program consists of the following 2 lines:
>
> import webbrowser
> webbrowser.open_new('http://www.google')
>
> When I run it interactively, it works but if I run it as a sc
Hi,
You are doing it right but, for the URL string use " "(double quotes). you
should be fine
https://docs.python.org/2.0/ref/strings.html
import webbrowser
webbrowser.open_new("https://www.google.org/";)
Thanks,
Abhay
On Tue, Sep 16, 2014 at 12:13 PM, DJ Webre
wrote:
> I am trying to conver
Dear D.J.:
First, let me mention that you violated several of the unwritten rules
of asking for help.
For example, the code you typed into for email is not the same as the code
in the picture
you sent as an attachment (using a proprietary format).
Code samples should be cut-and-paste, not retype
Hi, DJ.
On 9/16/2014 1:13 PM, DJ Webre wrote:
> I am trying to convert a program from interactive to script file.
>
> The program consists of the following 2 lines:
>
> import webbrowser
> webbrowser.open_new('http://www.google')
>
> When I run it interactively, it works but if I run it as a scr
I am trying to convert a program from interactive to script file.
The program consists of the following 2 lines:
import webbrowser
webbrowser.open_new('http://www.google')
When I run it interactively, it works but if I run it as a scrip file, it
produces an error unless I import webbrowser in