import struct in Python z/OS

miridian miridian at nerdshack.com
Mon Jul 30 06:11:11 EDT 2007


Hi,

I'm porting a Python program from Linux to z/OS using
this Python port

http://www.teaser.fr/~jymengant/mvspython/mvsPythonPort.html

I get the following

Python 2.4.1 (#43, Apr 23 2005, 23:35:50) [C] on mvs
Type "help", "copyright", "credits" or "license" for more information.
 >>> import struct
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
ImportError: No module named struct


as far as I can see the module struct (and a lot of other, like time, 
math etc.) is compiled as dll
   ./build/lib.os390-10.00-7060-2.4/struct.dll

but not configured correctly.
:-(

Any hint ?

Thank you in advance.





More information about the Python-list mailing list