it works know but it only creates a very small file 1kb On 22 dic, 16:24, Adolfo <[email protected]> wrote: > im trying that but it doesnt works maybe im doing something wrong. > > Ive also tried this but in both cases web2py doesnt create any files. > > db.export_to_csv_file(open('db.csv','wb')) > > db.import_from_csv_file(open('db.csv','rb')) > db.commit() > > On 22 dic, 16:16, Thadeus Burgess <[email protected]> wrote: > > > > > db.export_to_csv_file(open('/path/to/my/file.txt', 'w')) > > > and then when you switch your DAL over... > > > db.import_from_csv_file(open('/path/to/myfile.txt', 'r')) > > > -Thadeus > > > On Tue, Dec 22, 2009 at 3:07 PM, Adolfo <[email protected]> wrote: > > > Hello > > > > I've been working with sqlite for develpment but now that i have > > > finish with my app id like to use postgress. So i'd like to know if > > > someone know a simple way of migrating the data in my Sqlite database > > > to the one in Postgress. > > > > Thanks > > > > Adolfo > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "web2py-users" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<web2py%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/web2py?hl=en.-Ocultar texto de la cita - > > > - Mostrar texto de la cita -- Ocultar texto de la cita - > > - Mostrar texto de la cita -
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. 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.

