Table of Contents

Class: N2 ./src/peak/tools/n2/main.py

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

Base Classes   
AbstractCommand
Methods   
__repr__
_run
do_cd
execute
get_home
get_pwd
getvar
handle
interact
listvars
printColumns
py_cd
py_ls
readline
set_input
setvar
unsetvar
  __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,
        )

Exceptions   
KeyError, var
  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 )

Exceptions   
EOFError
  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"

Table of Contents

This document was automatically generated on Mon Nov 11 01:11:04 2024 by HappyDoc version 2.1