To All,
 
 
I have now been able to generate a .pyd file from a FORTRAN file that I am 
trying to interface with python.  I was able to execute this with an additional 
insight into how f2py operates.  It seems as though the documentation requires 
an upgrade, since there appears to be missing information that might misdirect 
a   f2py newcomer, such as myself.  However, I am now facing the following new 
error:
 
ImportError: DLL load with error code 193
 
The python script is as follows:
 
import hello

print hello.__doc__

print hello.foo.__doc__

hello.foo(4) 

 

The Fortran code is as follows:

! -*- f90 -*-

subroutine foo(a)

integer a 

print*, "Hello from Fortran!" 

print*, "a=", a 

end

 
I was wondering as to what I should now try in order to finally produce a 
python sending and receiving information from a FORTRAN .pyd file.
 
 
Any Suggestions???
 
Do I have to recompile Python with mingw32 in order to finally resolve this 
issue??  
 
 
 
Thanks,
 
 
David Blubaugh
 
 

This e-mail transmission contains information that is confidential and may be 
privileged. It is intended only for the addressee(s) named above. If you 
receive 
this e-mail in error, please do not read, copy or disseminate it in any manner. 
If you are not the intended recipient, any disclosure, copying, distribution or 
use of the contents of this information is prohibited. Please reply to the 
message immediately by informing the sender that the message was misdirected. 
After replying, please erase it from your computer system. Your assistance in 
correcting this error is appreciated.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to