I have written a Python program using Python 3.3. The output is saved as an HTML file. I want the HTML file to pop open automatically and show the results at the end of the program. Is there ay solution for this?
I’ll appreciated your help.
Thanks
I have written a Python program using Python 3.3. The output is saved as
Share
This should work:
**This will open the Chrome web browser with the Google’s homepage.
Change the
url pathto thefile pathof the html page and usefile://{ followed by the html page path }Updated:
Try:
Reference: python's webbrowser launches IE instead of default on windows 7