Is there a good way to access browser like IE and run an HTML file from within Python code?
bumsfeld 413 Nearly a Posting Virtuoso
Recommended Answers
Jump to PostWould running Python server-side work? Apache supports Python as a web development language. You can generate HTML on the server, and then browse that in IE.
Jump to PostThis works with Windows only ...
# acts like double-clicking the filename in Windows file manager # starts the associated program and loads the file import os # default file path is the current directory os.startfile("test2.htm")
All 5 Replies
alc6379 120 Cookie... That's it Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
EAnder 16 Light Poster
StepIre 7 Newbie Poster
you2 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.