Alan Toppen wrote: > When running my Python script it gives a warning: > > /usr/local/lib/python2.4/zipfile.py:7: RuntimeWarning: Python C API version > mismatch for module zlib: This Python has C API version 1012, module zlib > has version 1011. > import zlib # We may need its compression method
that's usually a non-critical warning. > But it works. Python 2.2 and 2.3 handle zipfiles out of the box. Could a > file have been omitted from Python 2.4 by accident? from your Python 2.4 build, perhaps. Python 2.4 itself definitely supports zlib/zipfile. e.g. Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import zlib >>> import zipfile I suggest checking with whoever built Python for you. </F> -- http://mail.python.org/mailman/listinfo/python-list