[SciPy-user] [f2py] hide ?
Wed Apr 25 17:02:44 CDT 2007
I read the PerfomancePython doc, and specially, the example using f2py.
I try to getting work my own example but I can't :-(
Here the short fortran code:
cf2py integer intent(hide) :: n
integer :: n
print *, 'n = ', n
After compiling it, I try this:
Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
Type "copyright", "credits" or "license" for more information.
IPython 0.7.2 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In : n=13
In : import essai; essai.essai()
n = 0
What am I doing wrong ?
I read & re-read the "Using f2py" section, I don't understand.
Thanks in advance.
More information about the SciPy-user