Hello, I use SQLite in my application as database, but I think I'm doing
something wrong.

Currently, I open a connection and cursor object every time I do an
operation (insert, select, update, ...) and close it afterwards. Now I was
wondering if it wouldn't be better to open the connection if my application
starts, and commit and close when the user quits.
Is this save? Can data be selected if I haven't commit anything?

Cheers,
Timo
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to