March 2003
Intermediate to advanced
656 pages
39h 30m
English
precmd
c.precmd(s)
c
.cmdloop calls
s
=
c
.precmd(
s
)
to preprocess each command line s. The
current leg of the loop bases all further processing on the string
that precmd returns. Unless your subclass
overrides this method, the base-class method
Cmd.precmd is called, and returns
s itself as the method’s
result.
Read now
Unlock full access