Publisher review:Sized Dictionary script is a good demonstration of inheriting python default object types. This script is a good demonstration of inheriting python default object types.
It defines a maximum size (items, not bytes) to limit to and use as a normal dictionary (be careful to have KeyError exception handling, or use the dictionary's get method with a default value).
This can be used for caching of data where the amount of data cached really matters. Hosting servers, for instance, can impose ram usage limitations, and where you'd really like to store all the information in memory.
Sized Dictionary 1.1 is a Python script for Programming Methods and Algorithms scripts design by James Kassemi.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
is a good demonstration of inheriting python default object types.
Operating system:Windows / Linux / Mac OS / BSD / Solaris