Re: I really need webbrowser.open('file://') to open a web browser

2010-01-27 Thread Paul Boddie
On 27 Jan, 23:00, Mitchell L Model wrote: > > I suppose that since a file: URL is not, strictly speaking, on the   > web, that it shouldn't be opened with a "web" browser. But anything with a URL is (or should be regarded as being) on the Web. It may not be anything more than a local resource and

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-27 Thread Mitchell L Model
On Jan 27, 2010, at 3:31 PM, Timur Tabi wrote: On Wed, Jan 27, 2010 at 12:29 PM, Mitchell L Model wrote: I had some discussions with the Python documentation writers that led to the following note being included in the Python 3.1 library documentation for webbrowser.open: "Note that on s

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-27 Thread Timur Tabi
On Wed, Jan 27, 2010 at 12:29 PM, Mitchell L Model wrote: > I had some discussions with the Python documentation writers that led to the > following note being included in the Python 3.1 library documentation for > webbrowser.open: "Note that on some platforms, trying to open a filename > using t

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-27 Thread Mitchell L Model
On Jan 15, 2010, at 3:59 PM, 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 brow

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-18 Thread Timur Tabi
On Sat, Jan 16, 2010 at 3:43 PM, Paul Boddie wrote: > Generally, the desktop-specific tools should know that a browser is > the appropriate application for an HTML file, and testing with both > xdg-open, gnome-open and "kfmclient openURL" seems to open browsers on > HTML files (using file:///...)

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-16 Thread Paul Boddie
On 15 Jan, 21:14, Timur Tabi wrote: > 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 brow

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-16 Thread Jon Clements
On Jan 16, 5:08 pm, Jonathan Temple wrote: > On Jan 15, 8:14 pm, Timur Tabi wrote: > > > > > 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 case

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-16 Thread Jonathan Temple
On Jan 15, 8:14 pm, Timur Tabi wrote: > 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 br

I really need webbrowser.open('file://') to open a web browser

2010-01-15 Thread 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 syst