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
()))



wher should i put the zip code to zip the file created above?
thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to