Printing Documents

Claudio Grondi claudio.grondi at
Thu Sep 7 20:17:34 CEST 2006

defcon8 wrote:
> How can I print html documents in Python on Windows?

1. You start the Microsoft Internet Explorer and make some space on the 
Desktop for a Python shell window.
2. You start the Python shell and position it within the prepared space
3. Still looking at the Python shell you load the document into the 
Internet Explorer and then use its menu [File] -> [Print] to invoke 
printing (don't forget to keep your eye on the Python shell...)


Claudio Grondi
P.S. There are many options to automate usage of MSIE from Python, so 
maybe if you explain what you actually intend to achieve, someone else 
can give you a better advice.

More information about the Python-list mailing list