[Zope] return a pdf from a python script
Paul Winkler
pw_lists at slinkp.com
Tue Jan 4 13:53:56 EST 2005
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
More information about the Zope
mailing list