Publisher review:Importing a dynamically generated module script will let you import a module from code that is dynamically generated. This script will let you import a module from code that is dynamically generated. Code is the object containing the code (a string, a file handle or an actual compiled code object, same types as accepted by an exec statement).
The name is the name to give to the module, and the final argument says wheter to add it to sys.modules or not. If it is added, a subsequent import statement using name will return this module. If it is not added to sys.modules import will try to load it in the normal fashion.
Importing a dynamically generated module 1.0 is a Python script for Programming Methods and Algorithms scripts design by Anders Hammarquist.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
will let you import a module from code that is dynamically generated.
Operating system:Windows / Linux / Mac OS / BSD / Solaris