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

Christophe Chappet Christophe.Chappet at onera.fr
Tue Dec 2 09:26:15 EST 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://mail.python.org/pipermail/numpy-discussion/attachments/20081202/e2050585/attachment.html>


More information about the NumPy-Discussion mailing list