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 <elearn2...@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
>
>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to