Keyed Dictionary

Category: Python - Education

The KeyedDict object keeps a list of approved key values. If you try to assigned an unapproved key to a value, an exception is thrown. When you create the object, you give it a sequence (tuple, list, etc.) of key objects and then, when you set an item with a key, it will make sure that the key is in the "approved" list. If you try to set an item with a key that isn't in your approved list, you get an TypeError exception. Date: 12 March, 2012


Key Values - Key Objects - TypeError Exception - Key - Values - TypeError

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

KeePass Password Safe is a free, open source, light-weight and easy-to-use password manager for Windows.

developer Developer: keepass.info
license License: GNU General Public License (GPL)
operating systems Operating System: WINE, 32-bit MS Windows (95/98), 32-bit MS Windows (NT/2000/XP), All 32-bit MS Windows (95/98/NT/2000/XP), Win2K, WinXP, Microsoft Windows Server 2003


Old-school, puzzle game similar to Solomon's Key.

developer Developer: magicor
license License: Public Domain
operating systems Operating System: Not Available


Offers computer spy software and mobile phone inspector for investigation or detective purpose.

developer Developer: Remote Keylogger
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


Keylogger program records typed characters, digits, special symbols and any other data entered by keyboard in an encrypted text file.

developer Developer: Keylogger
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


Database Converter tool migrates MySQL DB into MS SQL and compatible with all major versions of MySQL (4.

developer Developer: converter software
license License: GNU General Public License (GPL)
operating systems Operating System: Windows


Browse capture keystrokes tool that is easy to use and records all PC activities of your children, spouse, friends.

developer Developer: capture keystrokes
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


It currently implements these SHA algorithms: SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


This script is a simple oneliner to built a dictionary from a list.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Active directory is wordy and very detailed.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All