converting from html to pdf

Terry Reedy tjreedy at udel.edu
Thu Jan 25 17:39:16 EST 2001


> I am looking for pointers on how I can covert an html file to pdf using
> python.  I am new to python.  A project like this can really help get me
> started.

There is a standard library module for parsing html that should have come
with your distribution.  There is a publicly-available module or package
for writing pdf files - either search 'pdf' in newgroup/mlist archives
(still available at python.org?) or wait for someone to supply the
reference.

Connecting the two should be an interesting project that will get you well
started with Python.
Suggestion: start with simple html files restricted to a subset of html (no
tables, forms, etc) and get that to work.

Terry J. Reedy






More information about the Python-list mailing list