os.startfile / webbrowser + Firefox

Tony Meyer t-meyer at ihug.co.nz
Tue Jul 6 21:47:39 EDT 2004


[Matthias Huening]
> os.startfile('http://www.python.org') works fine on WinXP 
> with IE as default webbrowser. With Mozilla Firefox 0.9 as
> default webbrowser, however, I get an error. Firefox starts,
> the page gets loaded and then Python gives me an error message
> (Traceback below).

[Martin Franklin]
> I hate to say but it worked for me using Opera as my default 
> browser on Windows 2000 but fails with Firefox so I guess 
> it's a Firefox thing...

It works for me (Win XP SP1, Firefox 0.9.1 as default browser).

Perhaps a silly question, but does typing "http://www.python.org" into
Firefox yourself work?

=Tony Meyer




More information about the Python-list mailing list