making a class callable
Tom Zych
freethinker at pobox.com
Fri Mar 4 04:03:49 EST 2011
dude wrote:
>>> f = foo("wow")
...
>>> However, I always get the "module not callable" error.
...
> That was the problem. I was using:
> import ohYeah
To get that error, I think you must have been importing
a module named "foo" as well. Or you would have gotten
a NameError instead.
--
Tom Zych / freethinker at pobox.com
Q: I'm having problems with my Windows software. Will you help me?
A: Yes. Go to a DOS prompt and type "format c:". Any problems you are
experiencing will cease within a few minutes. -- Hacker Howto
More information about the Python-list
mailing list