[Tutor] Generating a python file
shantanoo at gmail.com
Tue Dec 14 09:54:00 CET 2010
On Tue, Dec 14, 2010 at 14:18, C.T. Matsumoto <c.t.matsumoto at gmail.com>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.
http://docs.python.org/library/pickle.html is your friend.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor