Not defined
Richie Hindle
richie at entrian.com
Mon Oct 3 06:00:13 EDT 2005
[Rob]
> >>> from cgkit import *
> >>> Sphere()
> Traceback (most recent call last):
> File "<interactive input>", line 1, in ?
> NameError: name 'Sphere' is not defined
Do you have a file of your own called cgkit.py? You're probably importing
that rather than the real thing. Try this:
>>> import cgkit
>>> print cgkit.__file__
>>> dir(cgkit)
--
Richie Hindle
richie at entrian.com
More information about the Python-list
mailing list