import struct in Python z/OS

miridian miridian at
Mon Jul 30 12:11:11 CEST 2007


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

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

but not configured correctly.

Any hint ?

Thank you in advance.

More information about the Python-list mailing list