[reportlab-users] reportlab basic problem
Tim Smith
reportlab-users@reportlab.com
Wed, 15 Sep 2004 16:01:44 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello i have started readingthe user guide for replort lab, but i have
hit a probelm right away
from reportlab.pdfgen import canvas
def hello(c):
~ c.drawString(100,100, "Hello World")
c = canvas.Canvas("c:\hello.pdf")
c.showPage()
c.save
print "finished"
this code does not error, but produces no pdf file as the examples
says it should... have i installed it incorrectly or is the user guide
wrong?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBR9rHlDz0jt7WNwoRApiWAJ9PjjW/B+vpUfAMVH43LlyNh6yFdwCg84vO
woWsXs8R2sC3dLXaH5r5F0k=
=sRMa
-----END PGP SIGNATURE-----