unzip zip files

Edward Elliott nobody at 127.0.0.1
Fri May 12 19:36:27 EDT 2006


Marcelo Ramos wrote:

> DataSmash escribió:
>> file into the subdirectory, but unzips the contents into the
>> root (current) directory.  I want the contents of the zip file
>> unloaded into the newly created subdirectory where the zip file is.
>>
> 
> See "-d" zip's parameter in man zip.

or change the working dir before calling unzip.

-- 
Edward Elliott
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net



More information about the Python-list mailing list