zip a created file
frendy zhang
zhang_killer at hotmail.com
Thu Dec 11 00:01:20 EST 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.
http://get.live.com/photogallery/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081211/266490b8/attachment-0001.html>
More information about the Python-list
mailing list