I think I will give both approaches a go, since this is just a learning exercise anyway. Thanks very much for your help.

Oh, and sorry for accidentally quoting the whole digest last time. Won't happen again!

Tom

On 13 Jul 2009, at 17:53, tutor-requ...@python.org wrote:

I think you are better off using a database in this situation, sqlite3 is a
good choice since no extra setup is required. See
http://docs.python.org/library/sqlite3.html

And to answer your question, the python pickle module can save class
instances, see http://docs.python.org/library/pickle.html


Regards,
Daniel Woodhouse

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to