simple python script to zip files

T_T t at nomail.com
Sat Feb 16 10:37:16 EST 2008


Hi, 

I'm just starting to learn some Python basics and are not familiar with 
file handling. 
Looking for a python scrip that zips files. 
So aaa.xx bbb.yy ccc.xx should be zipped to aaa.zip bbb.zip ccc.zip
 
I haven't been able to type more than 'import gzip'.. 

Just a script I need for practical use (zip didn't do the job) and not 
for educational purposes. 




More information about the Python-list mailing list