On Tue, Dec 14, 2010 at 12:06 PM, Peter Otten <__pete...@web.de> wrote:
> C.T. Matsumoto wrote: > > > Is it possible to create files containing python code in the same sort > > of way that you can generate text files. > > > > A simple example perhaps could be a persistent dictionary. Keys and > > values are written to the dictionary in a file, that can be imported > > later. > > For simple human-readable dictionaries the established format is json, see > > http://docs.python.org/library/json.htm > > json files look similar to python dictionaries, but there are libraries to > read or write them for other programming languages, too. > > Peter > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > Peter, The page you linked to above was not found. Could you check the link again - -- Evans
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor