Re: F2PY changing integers to arrays???

2008-09-09 Thread mwojc
john wrote: > I have a simple module which performs basic operations on plot3d files > (below). I wrapped like: > > f2py --fcompiler=gfortran -m plot3d -c prec.f90 plot3d.f90 > > That seems to work fine, but i get some unexpected results... > from plot3d import plot3d as p3 dir(p3) >

Re: __getattr__, __setattr__ and pickle

2008-08-13 Thread mwojc
Bruno Desthuilliers wrote: > >>> class Prop(object): > ... @apply > ... def prop(): > ... def fget(self): return self._prop > ... def fset(self, val): self._prop = val > ... return property(**locals()) > ... def __init__(self, val): self.prop=val > ... > >>> c

Re: __getattr__, __setattr__ and pickle

2008-08-12 Thread mwojc
Bruno Desthuilliers wrote: > mwojc a écrit : >> Hi! >> My class with implemented __getattr__ and __setattr__ methods cannot be >> pickled because of the Error: >> >> == >> ERROR: test

__getattr__, __setattr__ and pickle

2008-08-12 Thread mwojc
Hi! My class with implemented __getattr__ and __setattr__ methods cannot be pickled because of the Error: == ERROR: testPickle (__main__.TestDeffnet2WithBiases) -

Re: feed-forward neural network for python

2006-12-11 Thread mwojc
Beliavsky napisal(a): > mwojc wrote: > > Hi! > > I released feed-forward neural network for python (ffnet) project at > > sourceforge. Implementation is extremelly fast (code written mostly in > > fortran with thin python interface, scipy optimizers involved) and ve

feed-forward neural network for python

2006-12-07 Thread mwojc
Hi! I released feed-forward neural network for python (ffnet) project at sourceforge. Implementation is extremelly fast (code written mostly in fortran with thin python interface, scipy optimizers involved) and very easy to use. I'm announcing it here because you, folks, are potential users/testers