The below code produces the error as indicated. But, in
E:\Python26\Lib\site-packages\ffnet\tools I see:
drawffnet.py
drawffnet.pyc
drawffnet.pyo
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
- Original Message -
From: Stephen Hansen
To: Cal Who
Cc: python-list@python.org
Sent: Sunday, March 14, 2010 2:33 PM
Subject: Re: What does Error: 'module' object is not callable Mean?
On Sun, Mar 14, 2010 at 10:20 AM, Cal Who calwhonos...@roadrunner.com wrote
Thanks for the replies.
That fixed it but produced another problem.
There are two plotting routines below.
Either one will work without error.
But the combo produces:
The exception unknown software exception (0x4015) occurred in the
application at location 0x1e05b62a.
in a dialog box and the
MRAB pyt...@mrabarnett.plus.com wrote in message
news:mailman.745.1268592389.23598.python-l...@python.org...
Cal Who wrote:
The below code produces the error as indicated. But, in
E:\Python26\Lib\site-packages\ffnet\tools I see:
drawffnet.py
drawffnet.pyc
drawffnet.pyo
Terry Reedy tjre...@udel.edu wrote in message
news:mailman.746.1268592481.23598.python-l...@python.org...
On 3/14/2010 2:20 PM, Cal Who wrote:
The below code produces the error as indicated. But, in
E:\Python26\Lib\site-packages\ffnet\tools I see:
drawffnet.py
drawffnet
I cleaned up the code by moving all the imports to the top.
There are two plotting routines shown below.
Either one will work without error.
But when I include both, running produces:
The exception unknown software exception (0x4015) occurred in the
application at location 0x1e05b62a.
I found it. Had to use figure to create a new figure!
Cal Who calwhonos...@roadrunner.com wrote in message
news:hnjp6f$l...@news.eternal-september.org...
I cleaned up the code by moving all the imports to the top.
There are two plotting routines shown below.
Either one will work without
I have the .py file in Eclipse
#...@pydevcodeanalysisignore
from ffnet import ffnet, mlgraph
topology = mlgraph( (2, 3, 1) )
nn = ffnet(topology)
I select RunAs / Python Run
I get the error
from ffnet import ffnet, mlgraph
ImportError: No module named ffnet
In the folder
:\\Program Files\\Python26\\lib\\site-packages',
Python is at
E:\Python26
but other things like java are at E:\Program Files
Showhow it is looking in the wrong place and I don't know how to fix it.
I checked the registry. The entries all look good there.
Thanks
Cal Who calwhonos
I found out I had something installed wrong.
Cal Who calwhonos...@roadrunner.com wrote in message
news:hnb339$g2...@news.eternal-september.org...
I have the .py file in Eclipse
#...@pydevcodeanalysisignore
from ffnet import ffnet, mlgraph
topology = mlgraph( (2, 3, 1) )
nn = ffnet
data = readdata( 'data/input.dat', delimiter = ',' )
input = data[:, :9]#nine data columns
Where can I find documentation for the
data[:,9]
in the code above.
Been looking and found many examples but would like to know the definition.
I need to skip the first column and then read 9
I
Robert Kern robert.k...@gmail.com wrote in message
news:mailman.631.1268335358.23598.python-l...@python.org...
On 2010-03-11 13:01 PM, Cal Who wrote:
data = readdata( 'data/input.dat', delimiter = ',' )
input = data[:, :9]#nine data columns
Where can I find documentation for the
data
Martin P. Hellwig martin.hell...@dcuktec.org wrote in message
news:hnbq8q$vg...@news.eternal-september.org...
On 03/11/10 22:08, Cal Who wrote:
cut
Thanks, that helped a lot.
I'm having trouble knowing what to search for to find documenatation. For
example, is print a Python command
13 matches
Mail list logo