>
> > But to be sure, it is perfectly safe and valid to open the database on
> program startup, commit changes during the process and close it

> on exit (or unhandled exception)?


As long as it makes sense to do so, yes. There's no point having an open
connection to a database if there doesn't need to be.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to