[Tutor] empty gfx module?
Steven D'Aprano
steve at pearwood.info
Sun Jun 22 10:32:05 CEST 2014
On Sun, Jun 22, 2014 at 12:18:11AM -0500, Lifeng Lin wrote:
> 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.
Make sure you haven't shadowed the gfx module with a file of your own
called "gfx.py" or "gfx.pyc".
You can check which file Python sees by doing this:
import gfx
print(gfx.__file__)
--
Steven
More information about the Tutor
mailing list