[Tutor] pdf syntax

Hugo González Monteverde hugonz-lists at h-lab.net
Mon Feb 20 19:30:20 CET 2006


Hi,

Syntax for composing a PDF is ugly PostScript. However, there are a 
couple of ways to use Python libraries to avoid the details.

You can draw a canvas in Tkinter and then print it, then use something 
linke ps2pdf to do the conversion.
http://effbot.org/tkinterbook/canvas.htm

You can use ReportLab, which is intended specifically for generating 
PDF. Docs are very complete:

http://www.reportlab.org/

The best language is of course Python, as this is the Python Tutors list  ;)

Hope that gets you started,

Hugo
saurabh akshekar wrote:
> Hi all
> my name is saurabh
> i want create n manipulate pdf files.
> can anybody tell me what is pdf syntax n how it works?
> also best or efficient language in which i should write program
> please reply
>  


More information about the Tutor mailing list