command parsing and interpreter interaction

Alex new_name at mit.edu
Fri May 18 15:23:05 EDT 2001


> I want to build a set of commands in the same way that the Cmd module
> allows one to do, but I want all lines entered at the prompt that are
> not defined by my interpreter to be handled by python as if it had
> been entered at the python interactive interpreter prompt.

Check out the pdb module, which does this.

Alex.



More information about the Python-list mailing list