Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78274 > unrolled thread

Re: why can't open the file with browser?

Started bySkip Montanaro <skip@pobox.com>
First post2014-09-24 06:31 -0500
Last post2014-09-24 06:31 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: why can't open the file with browser? Skip Montanaro <skip@pobox.com> - 2014-09-24 06:31 -0500

#78274 — Re: why can't open the file with browser?

FromSkip Montanaro <skip@pobox.com>
Date2014-09-24 06:31 -0500
SubjectRe: why can't open the file with browser?
Message-ID<mailman.14306.1411558289.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

Maybe it's supposed to be

file://localhost/test.html

? Just a guess, as I don't use Windows.

Skip


On Wed, Sep 24, 2014 at 4:32 AM, luofeiyu <elearn2014@gmail.com> wrote:

>
> import webbrowser
> webbrowser.open('f:\\test.html')
>
> why the file f:\\test.html is opened by notepad ,not by my firefox or chrome?
>
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web