What does Error: 'module' object is not callable Mean?

Cal Who CalWhoNOSPAM at roadrunner.com
Sun Mar 14 19:20:55 CET 2010

The below code produces the error as indicated. But, in
 E:\Python26\Lib\site-packages\ffnet\tools I see:
Is that what it is looking for?

I'm not sure what "not callable" means.
Could it be referencing to "nn" rather than drawffnet?
What should I do to investigate this?

from ffnet import ffnet, mlgraph, readdata

...snipped working code here ...

output, regression = nn.test(inputs2, targets2, iprint = 2)

from ffnet.tools import drawffnet
import pylab
drawffnet(nn)   #Error: 'module' object is not callable
except ImportError, e:
print "Cannot make drawffnet plot." 

More information about the Python-list mailing list