Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.176 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.67; '*S*': 0.02; 'subject:file': 0.07; 'import': 0.22; 'header:User-Agent:1': 0.23; 'file': 0.32; 'subject:the': 0.34; 'subject:with': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'received:10': 0.37; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'skip:w 30': 0.69; 'received:10.32': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=3Z0BFfG/PMeN63c/OPbQdhxec6tCbLL1i2y9wWHg3oM=; b=XmarsIpvvuyXy26mR4d31iI9UhPxEpigGPW2IpcWRK3UGQg01SMp4zHfiJsG/X7jzP 9Cu1gEUEXuF3S7sCNlu6HEpyNkJuMxwvA4QHNqNjp8zq2fRmLiSHSdB4Oi20VBFgeNMd UQ0xXD87pzfteAJ8+eCb8WGCIID1OJRorwdtm2LbEj56E2jD5cxbh1o9JWuMT6zrNPgK TyT6gkt7YLrqK+E3I8oWeL/5kGLyXz0I9Rj5EnoiyCNUmVxICaNySwqnPKiejmTATI2i fRnIWR148V/NzvA66cfVfqwwU8m34pDPffDML+ws96/Ou4dl62cVA/Yl0qLXHw+DJmvi LGiA== X-Received: by 10.68.111.99 with SMTP id ih3mr7567200pbb.124.1411551156168; Wed, 24 Sep 2014 02:32:36 -0700 (PDT) Date: Wed, 24 Sep 2014 17:32:02 +0800 From: luofeiyu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: python-list@python.org Subject: why can't open the file with browser? Content-Type: multipart/alternative; boundary="------------090504040106050906090709" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1411551164 news.xs4all.nl 2867 [2001:888:2000:d::a6]:56882 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:78270 This is a multi-part message in MIME format. --------------090504040106050906090709 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit | import webbrowser webbrowser.open('f:\\test.html') why the file f:\\test.html is opened by notepad ,not by my firefox or chrome? | --------------090504040106050906090709 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

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

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


--------------090504040106050906090709--