[Numpy-discussion] [F2PY] Fortran call fails in IDLE / PyScripter

Christophe Chappet Christophe.Chappet@onera...
Tue Dec 2 08:26:15 CST 2008


Hi all,
I compile the followinq code using "f2py -c --fcompiler=gnu95
--compiler=mingw32" -m hello
      subroutine AfficheMessage(szText)
      character szText*100
      write (*,*) szText
      return
      end

Using python console :
>>>import hello
>>>hello.affichemessage("
Hello")
works fine !

I do the same in the program window of IDLE and :
- no message is displayed.
- the shell restart (or IDLE crah if launched with -n)

Same problem with PyScripter IDE. (crash).

Any suggestion ?
Regards,
Christophe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081202/e2050585/attachment.html 


More information about the Numpy-discussion mailing list