Package prompt :: Module interpreter :: Class Interpreter
[hide private]
[frames] | no frames]

Class Interpreter

source code

Instance Methods [hide private]
 
__init__(self, relax)
The interpreter class.
source code
 
run(self)
Run the python interpreter.
source code
 
_off(self)
Function for turning the function introductions off.
source code
 
_on(self)
Function for turning the function introductions on.
source code
 
script(self, file=None, quit=0)
Function for executing a script file.
source code
Method Details [hide private]

run(self)

source code 

Run the python interpreter.

The namespace of this function is the namespace seen inside the interpreter. All user accessible functions, classes, etc, should be placed in this namespace.