read Zipfile

Tim Chase python.list at tim.thechases.com
Mon Nov 2 21:21:39 EST 2009


> I would like to know how does python 2.4 work for my case w/o the new added
> feature in 2.6? Do you guys know?

You can just grab the zipfile.py file from within the 2.6 
distribution[1] and dump it in your project folder.  Python 
should find it before it finds the 2.4 version in the 
$PYTHONPATH.  While you can also overwrite the older stock 
version in the $PYTHON_LIB_DIR directory, I recommend against it.

-tkc
(for future reference, please don't top-post)


[1]
http://svn.python.org/projects/python/trunk/Lib/zipfile.py






More information about the Python-list mailing list