On Jan 28, 10:59 am, Muddy Coder <cosmo_gene...@yahoo.com> wrote:
> Module os provides a means of running shell commands [...]
>
> 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')

Well, clearly all you need to do is get your system to recognise URLs
as shell commands and you're set...

But if you'd like the *right* tool for the job, try webbrowser.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to