On Sun, Mar 14, 2010 at 10:20 AM, Cal Who <span dir="ltr"><<a href="mailto:CalWhoNOSPAM@roadrunner.com">CalWhoNOSPAM@roadrunner.com</a>></span> wrote:<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


from ffnet.tools import drawffnet<br>
import pylab<br>
drawffnet(nn)   #Error: 'module' object is not callable</blockquote><div><br></div><div>First and foremost, please please please: don't describe or paraphrase tracebacks when asking for help, show them. The whole thing. It doesn't -really- matter here, but it still applies. </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote></div><div><br></div>That said, "drawffnet" is a module.<div><br></div><div>You can't call -- put () on the end of -- a module. Its not a function. Its a file containing code.</div>

<div><br></div><div>Perhaps you mean drawffnet.drawffnet()?</div><div><br></div><div><br clear="all"><div name="mailplane_signature">--S</div></div>