In article <[email protected]>,
MRAB <[email protected]> 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, happiness does NOT result in these contexts with
another layer of quoting.
os.startfile(URL)
works fine even if URL embeds special characters, and does not
work at all if URL is itself quoted.
os.system("start ...")
just gives a variety of unuseful results if URL embeds special
characters.
--
http://mail.python.org/mailman/listinfo/python-list