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


Groups > comp.lang.python > #78270

why can't open the file with browser?

Date 2014-09-24 17:32 +0800
From luofeiyu <elearn2014@gmail.com>
Subject why can't open the file with browser?
Newsgroups comp.lang.python
Message-ID <mailman.14302.1411551164.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

|
import webbrowser
webbrowser.open('f:\\test.html')

why the file f:\\test.html is opened by notepad ,not by my firefox or chrome?


|

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

why can't open the file with browser? luofeiyu <elearn2014@gmail.com> - 2014-09-24 17:32 +0800

csiph-web