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...
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to