Running queries on large data structure
Christoph Haas
email at christoph-haas.de
Thu Aug 3 14:12:49 EDT 2006
On Thursday 03 August 2006 19:54, hiaips wrote:
> Well, if you format the data as a Python dictionary and give the data
> file a .py extension, it becomes a Python module that you can load and
> reload dynamically. That's sort of what I was thinking.
Ah, okay. You mean like just using expr() on the object and writing that to
a file. I had expected pickling to be more efficient in that case.
Christoph
More information about the Python-list
mailing list