[Tutor] empty gfx module?
Lifeng Lin
linlifeng at gmail.com
Sun Jun 22 07:18:11 CEST 2014
Hi Everyone!
I am recently trying to process a gfx file using python.
gfx module does not come default, and with some struggle, i seem to have
succeeded in installing the module. However, when I import it, no methods
or attributes showed up.
here are some codes:
#######
import gfx
handle = gfx.open("pdf", "sample.pdf")
########
I got the error:
AttributeError: 'module' object has no attribute 'open"
when i do "dir(gfx)"
nothing but the usual suspect showed up. Help?
best,
Lifeng...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140622/0d137d88/attachment.html>
More information about the Tutor
mailing list