Ensuring a name definition in a module namespace

Ensuring a name definition in a module namespace

Ensuring a name definition in a module namespace Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 291
  • Released: Mar 2, 2007

Ensuring a name definition in a module namespace Description

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__).

Ensuring a name definition in a module namespace Keywords

Ensuring a name definition in a module namespace Bookmark

Hyperlink code:
Hyperlink for Forum code:

Ensuring a name definition in a module namespace Script Download Notice

Top 4 Download periodically updates information of Ensuring a name definition in a module namespace script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Ensuring a name definition in a module namespace torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

z crypt

This module show a way to simple data encryption. Characters ... to be used in a larger encryption scheme. Definitions are specially constructed strings that come from the defintion function (which can produce "named" definitions).Keys can be extracted from the definitions by using the key function. The select argument ... or False. Data encrypted with "True" of a definition can be decrypted with the "False" of a ...
Python

Extending the logging module

... in adding new format specifiers to the logging module. In this example, it's for the user name and the name of the function that logged the message. ...
Python

Timeit module wrapper

... quick tests of your functions using the timeit module.The timeit module provides an easy way of testing the performance of your Python code by running it in many iterations and averaging the timings. However it ...
Python

get date wrapper to datetime module

The datetime module only accepts inputs of time it understands. For example, the months given to it have to be in range of values 1-12. This wrapper works around that issue and enables you to move forward or backward more arbitrary units of time. It does that by changing the ...
Python

Reloading all modules

When you create a Python module, you can use a test script wich import your module. But you probably have noticed that when you ... it always use the first version of your module even if you made changes in the code.This is because the import statement check if the module is already in memory and do the import ...
Python