[Tutor] Zipping files and Mysql
gagnrath at verizon.net
gagnrath at verizon.net
Mon Jun 27 21:45:45 CEST 2011
I am trying to write a script that will dump a mysql db and then zip the file.
I do know about mysqldb, but I was wondering if there is anything native to the libraries that will allow me to do this without using a seperate piece. Then after I gather the DBs, I need to zip them. I wrote the following, but wanted to know if I am heading in the correct direction.
zipfile.zipfile(/myfiles/my_db/, w, zip_stored)
More information about the Tutor
mailing list