GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 5.10.1 Cmd Objects

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 5.10 cmd -- Support for line-oriented command interpreters

Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 5.9 calendar Up: 5. Miscellaneous Services Next: 5.10.1 Cmd Objects

5.10 cmd -- Support for 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
  • 5.10.1 Cmd Objects


Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 5.9 calendar Up: 5. Miscellaneous Services Next: 5.10.1 Cmd Objects

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.