资 源 简 介
Package console
Overview
The console framework allows for the rapid development of interactive console based applications in Python in the style of the Python shell. Software developers often want to create lightweight programs using the terminal or the shell to control minor or partial functionality in a large application. Instead of writing a completly scripted executable .py file, the console framework allows for the rapid integration of specific commands into a customizable interactive shell.
At its most basic, the framework allows you to create InteractiveCommands to be added to an InteractiveShell. These commands have name, description, and help text associated with them, and allow you to add specific functionality, which returns output via stdout. InteractiveShell allows you to customize a banner and a prompt, and can be easily created and instantiated with commands in a __m