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

Paul Boddie paul at boddie.org.uk
Wed Jan 27 17:19:32 EST 2010


On 27 Jan, 23:00, Mitchell L Model <MLM... at comcast.net> 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 thus have
no universal or common meaning - someone else may not be able to
resolve the URL to a file at all, or it may resolve to a different
file - but it's part of the Web as observed by one party.

Paul



More information about the Python-list mailing list