Next: Type Objects Prev: Methods Up: Other Built-in Types Top: Top
compile()
function and can be
extracted from function objects through their func_code
attribute.
A code object can be executed or evaluated by passing it (instead of a
source string) to the exec
statement or the built-in
eval()
function.
(See the Python Reference Manual for more info.)