Imported modules
|
|
import os
import string
import sys
|
Functions
|
|
_load_possible_module
load_basemodule
load_expression
load_module
load_object
|
|
_load_possible_module
|
_load_possible_module ( basemodulename, possible_formats )
|
|
load_basemodule
|
load_basemodule ( modulename, package="formatdefs" )
|
|
load_expression
|
load_expression ( path )
Exceptions
|
|
TypeError( msg )
TypeError("%r should be a Martel Expression but " "is a %r" %( path, klass ) )
|
|
|
load_module
|
load_module ( modulename )
Exceptions
|
|
ImportError("%s during import of %r" %( exc, modulename ) ), None, sys.exc_info() [ 2 ]
|
|
|
load_object
|
load_object ( path )
Exceptions
|
|
AttributeError("%s object (%r) has no attribute %r" %( type( x ).__name__, s, term ) )
TypeError("There's a '.' in the wrong place: %r" %( path, ) )
|
|
Classes
|
|
|