Re: encrypt and descrypt a created file

2008-12-13 Thread Tim Chase
open(str(os.sep).join([ os.getcwd(), 'applications', request.application, 'databases', table+'.csv']),'w').write(str(db(db[table].id).select ())) How can i encrypt and descrypt the created file above?? Well, as I was recently admonished (and have come to love), the firs

encrypt and descrypt a created file

2008-12-13 Thread frendy zhang
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(s