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

Module interpreter

source code

Classes [hide private]
  Interpreter
  _Exit
Functions [hide private]
 
interact_prompt(self, intro, local)
Replacement function for 'code.InteractiveConsole.interact'.
source code
 
interact_script(self, intro, local, script_file, quit)
Replacement function for 'code.InteractiveConsole.interact'.
source code
 
prompt(intro=None, local=None)
Python interpreter emulation.
source code
 
run_script(intro=None, local=None, script_file=None, quit=1)
Python interpreter emulation.
source code
 
runcode(self, code)
Replacement code for code.InteractiveInterpreter.runcode
source code

Imports: __builtin__, InteractiveConsole, softspace, F_OK, access, readline, sys, pi, Numeric, Scientific, _Helper, _Helper_python, Ls, Lh, Ll, system, Tab_completion, Angles, OpenDX, Eliminate, Fix, GPL, Init_data, Minimisation, Modsel, Nuclei, PDB, Dasha, Diffusion_tensor, Grace, Jw_mapping, Model_free, Molmol, Monte_carlo, Noe, Palmer, Relax_data, Relax_fit, Results, Run, Select, Sequence, State, Threading, Unselect, Value, Vmd


Function Details [hide private]

interact_prompt(self, intro, local)

source code 

Replacement function for 'code.InteractiveConsole.interact'.

This will enter into the prompt.

interact_script(self, intro, local, script_file, quit)

source code 

Replacement function for 'code.InteractiveConsole.interact'.

This will execute the script file.

prompt(intro=None, local=None)

source code 

Python interpreter emulation.

This function replaces 'code.interact'.

run_script(intro=None, local=None, script_file=None, quit=1)

source code 

Python interpreter emulation.

This function replaces 'code.interact'.