i re-write it

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Dec 16 11:50:37 EST 2009


codefly a écrit :
> now.. another problem..
> 
> when i type me = code2()

where ? and what is 'code2' in this context ? Sorry, my crystal ball is 
out for repair...

> the error is here..
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> TypeError: 'module' object is not callable
> 

Ok, so it's in the python shell, you imported your module named 'code2', 
and tried to call it.

Well... the error message say it all: module objects are not callable 
(IOW : they are not functions). If I may ask : what's your background in 
programming ?












More information about the Python-list mailing list