/myfiles/my_db/ needs to be a string that right there is trying to divide nothing by the variable called myfiles, divided by my_db, divide by nothing
On Mon, Jun 27, 2011 at 3:45 PM, <gagnr...@verizon.net> wrote: > 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) > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor