os.startfile / webbrowser + Firefox

SBrunning at trisystems.co.uk SBrunning at trisystems.co.uk
Thu Jul 8 13:58:56 CEST 2004


> From: Matthias Huening [mailto:mhuening at zedat.fu-berlin.de]
> 
> 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). The same is true 
> for the webbowser module. Is this a Python problem or a Firefox 
> problem?

A Firefox problem, I think, in that the file type association doesn't seem
to get set up properly. Bill Simoni told me how to fix this:
<http://www.brunningonline.net/simon/blog/archives/001465.html>.

Cheers,
Simon B.




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.



More information about the Python-list mailing list