iterating through humongously large key lists!!

Neil Schemenauer nas at python.ca
Wed Apr 25 09:56:30 EDT 2001


Mark blobby Robinson wrote:
> Is it is possible to interate through the keys of a dictionary
> object without loading the entire key list into memory?

Grab Python 2.1 and use the popitem() method that was added in
that release.  Guido's time machine is still working fine. :-)

  Neil




More information about the Python-list mailing list