PEAK and pdb are already imported for you.
c is bound to the object you looked up, or the initial context.
cd(x) like c = c[x]
cd() sets c back to the original value
pwd info about c
ls() show contents of c
Methods
|
|
|
|
__repr__
|
__repr__ ( self )
|
|
_run
|
_run ( self )
Exceptions
|
|
InvocationError( 'too many arguments' )
|
|
|
do_cd
|
do_cd ( self, c )
|
|
execute
|
execute ( self, code )
|
|
get_home
|
get_home ( self )
|
|
get_pwd
|
get_pwd ( self )
|
|
getvar
|
getvar (
self,
var,
default=NOT_GIVEN,
)
|
|
handle
|
handle ( self, c )
|
|
interact
|
interact (
self,
c=NOT_GIVEN,
n2=NOT_GIVEN,
)
|
|
listvars
|
listvars ( self )
|
|
printColumns
|
printColumns (
self,
stdout,
l,
sort=True,
rev=False,
)
|
|
py_cd
|
py_cd ( self, arg=None )
|
|
py_ls
|
py_ls ( self )
|
|
readline
|
readline ( self, prompt )
|
|
set_input
|
set_input (
self,
parser,
optname,
optval,
remaining_args,
)
|
|
setvar
|
setvar (
self,
var,
val,
)
Exceptions
|
|
KeyError, "can't change protected variable"
|
|
|
unsetvar
|
unsetvar ( self, var )
Exceptions
|
|
KeyError, "can't change protected variable"
|
|
|