March 2003
Intermediate to advanced
656 pages
39h 30m
English
RExec
class RExec(hooks=None,verbose=False)
Returns an instance of the RExec class, which
corresponds to a new restricted-execution environment, also known as
a sandbox. hooks, if not
None, lets you exert fine-grained control on
import statements executed in the sandbox. This is
an advanced and rarely used functionality, and I do not cover it
further in this book. verbose, if true,
causes additional debugging output to be sent to standard output for
many kinds of operations in the sandbox.