Re: Results of executing hyperlink in script

2009-01-28 Thread Tino Wildenhain
Tim Chase wrote: 1. This method was suggested by Cameron Laird: os.system("start %s" % URL) It works. But, if the URL contains character &, it will fail. For As an aside, the START command is a bit picky regarding quotes. You have to use this horrible contortion os.system('start "

Re: Results of executing hyperlink in script

2009-01-28 Thread Tim Chase
1. This method was suggested by Cameron Laird: os.system("start %s" % URL) It works. But, if the URL contains character &, it will fail. For As an aside, the START command is a bit picky regarding quotes. You have to use this horrible contortion os.system('start "title" "%s"' % URL

Re: Results of executing hyperlink in script

2009-01-28 Thread Gabriel Genellina
En Wed, 28 Jan 2009 20:49:14 -0200, Muddy Coder escribió: My previous post got a many helps from the people, and I tested what they suggested. Since this topic maybe needed in future, so I drop these lines below to help the future programmers. The methods worked as below: 1. This method was

Re: Results of executing hyperlink in script

2009-01-28 Thread Cameron Laird
In article , MRAB wrote: >Muddy Coder wrote: . . . >You could put quotes around the URL: > >os.startfile('"%s"' % URL) > >or: > >os.system('start "%s"' % URL) > >if "&" has a special meaning to the command-line. In fact, no,

Re: Results of executing hyperlink in script

2009-01-28 Thread Jean-Paul Calderone
On Wed, 28 Jan 2009 23:14:59 +, MRAB wrote: Muddy Coder wrote: Hi Folks, My previous post got a many helps from the people, and I tested what they suggested. Since this topic maybe needed in future, so I drop these lines below to help the future programmers. The methods worked as below: 1

Re: Results of executing hyperlink in script

2009-01-28 Thread MRAB
Muddy Coder wrote: Hi Folks, My previous post got a many helps from the people, and I tested what they suggested. Since this topic maybe needed in future, so I drop these lines below to help the future programmers. The methods worked as below: 1. This method was suggested by Cameron Laird:

Results of executing hyperlink in script

2009-01-28 Thread Muddy Coder
Hi Folks, My previous post got a many helps from the people, and I tested what they suggested. Since this topic maybe needed in future, so I drop these lines below to help the future programmers. The methods worked as below: 1. This method was suggested by Cameron Laird: os.system("start %