(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/Cmd-objects.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/misc.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/module-calendar.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/contents.html| ]]
|
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/genindex.html| ]]
|
Next: 5.10.1 Cmd Objects Up: 5. Miscellaneous Services Previous: 5.9 calendar
5.10 cmd -- Build line-oriented command interpreters.
The Cmd class provides a simple framework for writing line-oriented command interpreters. These are often useful for test harnesses, administrative tools, and prototypes that will later be wrapped in a more sophisticated interface.
- Cmd ()
- A Cmd instance or subclass instance is a line-oriented interpreter framework. There is no good reason to instantiate Cmd itself; rather, it's useful as a superclass of an interpreter class you define yourself in order to inherit Cmd's methods and encapsulate action methods.
Subsections
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/Cmd-objects.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/misc.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/module-calendar.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/contents.html| ]]
|
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/genindex.html| ]]
|
Next: 5.10.1 Cmd Objects Up: 5. Miscellaneous Services Previous: 5.9 calendar