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
 
Ad

Advertisements

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
 
Ad

Advertisements


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

Top