Script demo_rawPosable_py :: Class RawPosable
[hide private]
[frames] | no frames]

Class RawPosable

source code


Instance Methods [hide private]
 
__init__(self)
Instantiate a line-oriented interpreter framework.
source code
 
do_populate(self, line) source code
 
do_who(self, line) source code
 
do_EOF(self, line) source code
 
do_off(self, line='') source code
 
do_drop(self, line='') source code
 
emptyline(self)
Called when an empty line is entered in response to the prompt.
source code
 
do_execute(self, line='') source code
 
postcmd(self, stop, line)
Hook method executed just after a command dispatch is finished.
source code

Inherited from cmd.Cmd: cmdloop, columnize, complete, complete_help, completedefault, completenames, default, do_help, get_names, onecmd, parseline, postloop, precmd, preloop, print_topics

Class Variables [hide private]

Inherited from cmd.Cmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, prompt, ruler, undoc_header, use_rawinput

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Instantiate a line-oriented interpreter framework.

The optional argument 'completekey' is the readline name of a completion key; it defaults to the Tab key. If completekey is not None and the readline module is available, command completion is done automatically. The optional arguments stdin and stdout specify alternate input and output file objects; if not specified, sys.stdin and sys.stdout are used.

Overrides: cmd.Cmd.__init__
(inherited documentation)

emptyline(self)

source code 

Called when an empty line is entered in response to the prompt.

If this method is not overridden, it repeats the last nonempty command entered.

Overrides: cmd.Cmd.emptyline
(inherited documentation)

postcmd(self, stop, line)

source code 

Hook method executed just after a command dispatch is finished.

Overrides: cmd.Cmd.postcmd
(inherited documentation)