Re: os.system(cmd) isn't working

2005-06-23 Thread Peter Hansen
Terry Hancock wrote: > On Thursday 23 June 2005 01:19 am, Paul Watson wrote: > >>"Gregory Piñero" <[EMAIL PROTECTED]> wrote in message >>news:[EMAIL PROTECTED] >>os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' >>"www.blendedtechnologies.com"') >> > You don't have any spaces betwee

Re: os.system(cmd) isn't working

2005-06-23 Thread Terry Hancock
On Thursday 23 June 2005 01:19 am, Paul Watson wrote: > "Gregory Piñero" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' > "www.blendedtechnologies.com"') > > The goal is to have firefox open to that website. You don

Re: os.system(cmd) isn't working

2005-06-23 Thread Gregory Piñero
Thanks to everyone for all the help! After careful consideration I decided to go with os.startfile(url) It works just great! Here's my program in case anyone's interested. 5 points if you can guess what it does ;-) """Take a filepath from stdin and translate to the corresponding url and open

Re: os.system(cmd) isn't working

2005-06-23 Thread drobinow
If firefox is not your default browser, os.system(r'"cd c:\Program Files\Mozilla Firefox & firefox "' + '"www.blendertechnologies.com"') works for me. -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system(cmd) isn't working

2005-06-23 Thread Tjarko de Jong
On Thu, 23 Jun 2005 00:02:55 -0400, Gregory Piñero <[EMAIL PROTECTED]> wrote: >Hi guys, > >I'm trying to run this statement: > >os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' >"www.blendedtechnologies.com"') > >The goal is to have firefox open to that website. > >When I type r'"C:

RE: os.system(cmd) isn't working

2005-06-23 Thread Tim Golden
[Michael P. Soulier] | On 23/06/05 Tim Golden said: | | > This is only half an answer, but I personally find faffing | > about with the double-quote / double-backslash stuff between | > Python and Windows a pain in the neck, so where I can I avoid it. | | Indeed. I believe this is why Python has

Re: os.system(cmd) isn't working

2005-06-23 Thread Michael P. Soulier
On 23/06/05 Tim Golden said: > This is only half an answer, but I personally find faffing > about with the double-quote / double-backslash stuff between > Python and Windows a pain in the neck, so where I can I avoid it. Indeed. I believe this is why Python has os.sep. Mike -- Michael P. Soul

Re: os.system(cmd) isn't working

2005-06-23 Thread F. Petitjean
Le Thu, 23 Jun 2005 01:19:11 -0500, Paul Watson a écrit : > "Gregory Piñero" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Hi guys, > > I'm trying to run this statement: > > os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' > "www.blendedtechnologies.com"') > > The

Re: os.system(cmd) isn't working

2005-06-22 Thread Paul Watson
"Gregory Piñero" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi guys, I'm trying to run this statement: os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' "www.blendedtechnologies.com"') The goal is to have firefox open to that website. When I type r'"C:\Program Fi

RE: os.system(cmd) isn't working

2005-06-22 Thread Tim Golden
[Gregory Piñero] | | I'm trying to run this statement: | | os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' | "www.blendedtechnologies.com"') | | The goal is to have firefox open to that website. | | When I type r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' | "www.blended

os.system(cmd) isn't working

2005-06-22 Thread Gregory Piñero
Hi guys, I'm trying to run this statement: os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' "www.blendedtechnologies.com"') The goal is to have firefox open to that website. When I type r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' "www.blendedtechnologies.com"' in the py