Results of executing hyperlink in script
claird at lairds.us
Thu Jan 29 03:02:22 CET 2009
In article <mailman.8233.1233184499.3487.python-list at python.org>,
MRAB <google at mrabarnett.plus.com> wrote:
>Muddy Coder wrote:
>You could put quotes around the URL:
>os.startfile('"%s"' % URL)
>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.
works fine even if URL embeds special characters, and does not
work at all if URL is itself quoted.
just gives a variety of unuseful results if URL embeds special
More information about the Python-list