larry.bates at websafe.com
Thu Nov 8 02:05:26 CET 2007
> is there a rename utility for zipfile that can rename a directory
> inside a zipfile? also what's the best way to change the a file
> content inside a zip?
> So if i have the following file in the zip file:
> I want to rename A to be A1, and B to be B1, as well as changing the
> content of a1.txt and b1.txt.
> I can certainly extract them to filesystem then rezip, but there might
> be a better way to do this?
Nope not a better way. The zipping requires that you go through the process to
get a proper zip file.
More information about the Python-list