Print HTML

Joined
Apr 2, 2013
Messages
4
Reaction score
0
using 2.5 - i have a text file in html. i would like to open it in my browser, print to local/network printer, and close browser using python script. is that possible?

thanks,
GMAN1941
 
Joined
Apr 2, 2013
Messages
4
Reaction score
0
found the answer
assume html file name is: "filehtml"
then:
os.startfile(filehtml)
will open the browser and display the html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top