lauch browser on remote windows mach from linux python?

George Kinney gk_2345 at yahoo.com
Wed Sep 8 19:26:37 EDT 2004


<gry at ll.mit.edu> wrote in message news:chkskn$ug4 at odbk17.prod.google.com...

> I can imagine a tiny python daemon running on each PC, listening for a
> connection on a particular port, and reading a URL from it.
> Can it just call os.system('mozilla ...')?
> Or do I have to do some .com or .net thing?
>

sure, you can do:
os.startfile(someURL)
or:
os.system('start %s' % someURL)

either one will invoke the configured URL handler. (browser or whatever)





More information about the Python-list mailing list