T
Timur Tabi
After reading several web pages and mailing list threads, I've learned
that the webbrowser module does not really support opening local
files, even if I use a file:// URL designator. In most cases,
webbrowser.open() will indeed open the default web browser, but with
Python 2.6 on my Fedora 10 system, it opens a text editor instead. On
Python 2.5, it opens the default web browser.
This is a problem because my Python script creates a local HTML file
and I want it displayed on the web browser.
So is there any way to force webbrowser.open() to always use an actual
web browser?
that the webbrowser module does not really support opening local
files, even if I use a file:// URL designator. In most cases,
webbrowser.open() will indeed open the default web browser, but with
Python 2.6 on my Fedora 10 system, it opens a text editor instead. On
Python 2.5, it opens the default web browser.
This is a problem because my Python script creates a local HTML file
and I want it displayed on the web browser.
So is there any way to force webbrowser.open() to always use an actual
web browser?