Ensuring a name definition in a module n

Category: Python - Education

This script ensures that a name exists in a target namespace. If it does not, make it available in the target namespace using the given definition. The target should be a namespace dictionary (presumably for a module, see the discussion below otherwise). The default target is __builtins__ (specificially, __builtins__.__dict__). Date: 03 January, 2012


Module Namespace - Name Definition - Target Namespace - Module - Namespace - Name

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

This script ensures that a name exists in a target namespace.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


eCommerce on DotNetNuke is now powerful, flexible and free with the Nevoweb.

developer Developer: NB_Store
license License: BSD License
operating systems Operating System: Win


It can add a live chat room to PunBB, multiple skins, customizable, easy to install, users single sign-on and free hosted.

developer Developer: joy wang
license License: GNU General Public License (GPL)
operating systems Operating System: Unix, Mac OS X, Win98, XP, Vista


Swoopo Gold is the closest match to Swoopo in quality and functionality.

developer Developer: Itech Scripts
license License: PHP License
operating systems Operating System: Unix


Metagen is a multi-platform compatible script that automatically generates the Page Title, Keywords Meta Tag, and Description Meta Tag based on the page content.

developer Developer: http://www.dienhart.com/...
license License: Freeware
operating systems Operating System: Unix/Linux/Windows


Html2perl is a multi-platform compatible script that converts HTML designed in your favorite HTML editor to PERL formatting for cases where you would like the HTML embedded within your PERL app.

developer Developer: http://www.dienhart.com/...
license License: Freeware
operating systems Operating System: Unix/Linux/Windows


If you have your phpNuke News or phpNuke Reviews modules configured to allow anonymous user comments, the chances are you have been spammed.

developer Developer: John Haywood
license License: Freeware
operating systems Operating System: Linux, Unix


This class implements a generator, which returns consecutive floats which are incremented by a speed (time between calls).

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


This script provides a basic undo mechanism.

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