Script to make Windows XP-readable ZIP file
softwindow at gmail.com
Fri May 19 05:54:35 CEST 2006
my code can work, like below:
cwd = os.getcwd()
for dirpath,dirs,files in os.walk(cwd):
for file in files:
z_path = os.path.join(dirpath,file)
that is true
but the archive include the absolute path .
can you give me a way to build it with relative path.
More information about the Python-list