[web2py] Re: Creating a CSV backup for the database file in the app

2018-10-24 Thread mostwanted
I got the answer here: https://stackoverflow.com/questions/52976228/accessing-and-importing-data-from-a-private-csv-file-using-os-path-join/52981326#52981326 Regards: Mostwanted On Wednesday, October 24, 2018 at 3:01:52 PM UTC+2, mostwanted wrote: > > I am able to save some information with the

[web2py] Re: Creating a CSV backup for the database file in the app

2018-10-24 Thread mostwanted
I am able to save some information with the code you gave but when i try read from that file i get back *None *values: Am i missing something??? *CONTROLLER FOR READING THE FILE:* def viewInfo(): db = DAL('sqlite:memory') db.define_table('Clients', Field('Name'),

[web2py] Re: Creating a CSV backup for the database file in the app

2018-10-23 Thread Dave S
On Tuesday, October 23, 2018 at 11:44:41 AM UTC-7, mostwanted wrote: > > I have a folder in my desktop that contains a CSV file that backs up > information everytime something gets saved into the database. What i wanna > know is how can I instead have this folder and CSV backup file saved in th