On 03/01/2013 03:19 AM, Jean-Michel Pichavant wrote: > I would serialize the data. > > http://docs.python.org/2/library/pickle.html > > funds=5 pickle.dump(funds, 'funds.pickle') > > # to reload funds: > > funds = pickle.load('funds.pickle') > > > The good thing with pickle is that it serializes a lot of things, see > the "What can be pickled" section of the doc.
Another solution is to use a database system. Either SQLite (file-based) or something server-based like PosgreSQL or MariaDB. -- http://mail.python.org/mailman/listinfo/python-list