![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archive'unknown' command processing in python ?
From: <rjain7@yahoo.com>
Date: Wed Apr 12 2006 - 01:40:38 CEST
Hello,
I am a newbie; looking for an easy equivalent of TCL 'unknown' command
The two ways that I understand:
a) Extend cmd.Cmd() class: Will require me to write my own custom
b) Handle NameError exception: looks like I'd need to extend cmd.Cmd()
If you know of a simple enough way, or a code snippet that achieves
Thanks,
|