On Jan 28, 12:59 am, Muddy Coder <cosmo_gene...@yahoo.com> wrote:
> Hi Folks,
>
> Module os provides a means of running shell commands, such as:
>
> import os
> os.system('dir .')
>
> will execute command dir
>
> I think a hyperlink should also be executed. I tried:
>
> os.system('http://somedomain.com/foo.cgi?name=foo&passwd=bar')
>
> but I got kicked out by the Python interpreter. I wonder somebody
> knows the syntax of triggering a hyperlink? Thanks in advance!
>
> Muddy Coder

The webbrowser module springs to mind.

hth
Jon.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to