Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
dbForge Studio for PostgreSQL 2.3.212
HTMLPad 2020 16.2
WeBuilder 2020 16.2
Rapid CSS 2020 16.2
Rapid PHP 2020 16.2
C# HTML to PDF 2020.8.1
Flowrigami 1.0.0.1
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Top Code
IcrediBB Bulletin Board System 1.0
Ruby FANN-Fast Artificial Neural Network 1.1.3
Java-2-Pseudo 1.0
Ticket Booking System 1.0
Simplified Fuzzy ARTMAP Neural Network 1.0
Block Matching Algorithms for Motion Estimation 1.0
dbForge Studio for PostgreSQL 2.3.212
Online Betting Exchange & Open API. 1.0
PHP reports generator 1.0
SkaDate Online Dating Software 4.0
Betting system 6.x-1.x-dev
Kalman Filter Tutorial 1.0
Gif4J Light 1.0
Solid File System OS edition 5.1
Auto Screen Capture and Word / PDFDumper 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
Simple but Powerful Grouped Constants -- A Step Toward NamedConstants 
File ID: 64354






Simple but Powerful Grouped Constants -- A Step Toward NamedConstants 
Download Simple but Powerful Grouped Constants -- A Step Toward NamedConstants http://code.activestate.com/recipes/578107-tracking-and-manipulating-the-python-import-state/Report Error Link
License: Freeware
Downloads: 1
Submit Rating:
Simple but Powerful Grouped Constants -- A Step Toward NamedConstants  Description
Description: The recipe provides an easy-to-use class for a group of "constants". It provides helper functions for getting the constant values just right. It also exposes the mechanism it uses to bind the contents of an iterable into the namespace of another object.

For this binding and for the grouped constants, this recipe makes it easy to dynamically generate the mapped values you want to expose.

The next step is to make the values aware of the context in which they are bound and to strengthen their association with the group they are in. And that is one of the recipes I'm working on next!

License: Freeware

Related: constants

O/S:Windows

Downloads: 1



More Similar Code

SiteXS CMS is a simple but powerful PHP/MySQL-based CMS.

It has a modular structure, uses templates with embedded PHP-instructions and gettext for localization.



SiteXS CMS is a simple but powerful PHP/MySQL-based CMS.

It has a modular structure, uses templates with embedded PHP-instructions and gettext for localization.



QuantumDB is a simple but powerful database access plug-in for the Eclipse development platform.

QuantumDB allows you to:
- connect to databases using standard JDBC drivers
- review schemas, tables, views and sequences
-...



Buhsl Captcha is a very simple, but powerful plug-in that helps you to prevent spam. Plug-in don't use COOKIES or SESSION. So there is no annoying messages like "You should enable cookies" for visitors. Plug-in use hashed captcha code...



Colloquius is a simple but powerful BBS engine. The package contains a members database which is used for authentication and administration. Users can post, edit, and delete messages, as well as create and update profiles. Administrators can...



A simple but powerful download management script. It uses a template for the download page, the user can only download files so many times a day and it keeps detailed stats of all downloads. It includes an admin tool to add/modify/delete files and...



Listings Manager is a simple, but powerful tool for managing listings and classifieds. Create content with an easy editor that lets users add/edit listings with up to 10 photos per entry. Other features include: user access levels, a powerful...



A simple but powerful guestbook that features easy installation and customization, multi-language support, an admin interface, and email notifications on new postings. It uses a template system for easy integration into your site.



A very simple but powerful shell script which enables writing ad-hoc Python scripts for processing line-oriented input. It executes the following code template:

$INIT
for line in sys.stdin:
$LOOP
$END



YaBook is a simple but powerful guestbook running on PHP 5.

It features easy installation and customization, multi-language support, an administration interface, and email notifications on new postings. YaBook's design uses a template...

User Review for Simple but Powerful Grouped Constants -- A Step Toward NamedConstants
- required fields
     

Please enter text on the image