• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Advanced Word Hacks > 85. Hack Word from Python

Hack Word from Python

Use Word from Python to create attractive printouts of HTML documents on the fly.

Python is a powerful scripting language, and its use on Windows systems as both a development and an administration tool has increased. This hack shows you how to use Python to import an HTML document into Word, tweak the formatting, save the document in native Word format, and print it to the default printer. This hack assumes you have a file named C:\resume.html on your system. It also assumes you have Python installed on your system and that you can run Python scripts from the DOS command line.

Tip

To download Python (for free), go to http://www.python.org. For detailed information on using Python on Windows systems, check out Python Programming on Win32 (O’Reilly).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint