zip a created file

frendy zhang zhang_killer at
Thu Dec 11 06:01:20 CET 2008

if form.accepts(request.vars,session):         for table in db.tables:             rows=db(db[table].id).select()             print rows             open(str(os.sep).join([os.getcwd(), 'applications',                 request.application, 'databases',                 table+'.csv']),'w').write(str(db(db[table].id).select ())) 
where and what should i put the zip code to zip the file created above? thanks in advance
Easily edit your photos like a pro with Photo Gallery.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list