4 Jan
2005
4 Jan
'05
6:53 p.m.
On Tue, Jan 04, 2005 at 10:44:58AM -0800, Sam Boggess wrote:
Could someone please tell me how I can return a pdf from a python script? return context.blah.pdf() does not work.
that's because you're looking for the "pdf" attribute of the "blah" object. getattr(context, "blah.pdf") should get you the file object... -- Paul Winkler http://www.slinkp.com