('A customizable Tkinter-based text console widget, in which a user types in commands to be sent to the Python interpreter.',)
Project description
text_console
A customizable Tkinter-based text console widget with support for command history and interactive execution, in which a user types in commands to be sent to the Python interpreter.
It includes options for overriding specific variables through subclassing, by extending the TextConsole
class.
The package is installable via pip.
Features
- Tkinter-based package
- Customizable history file.
- Context menu with options for Cut, Copy, Paste, and Clear.
- Extendable for additional functionality.
The package provides flexibility to customize:
history_file
: Change the location of the history fileconsole_locals
: Add custom variables and functions to the console's namespacecontext_menu_items
: Modify the right-click context menushow_about_message
: Customize the about dialog contentshow_help_content
: Customize the help window contentcreate_menu
: Override to completely customize the menu bar
Each of these can be customized by subclassing TextConsole and overriding the appropriate attributes or methods.
Full information and usage details at the text_console GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file text_console-1.0.14.tar.gz
.
File metadata
- Download URL: text_console-1.0.14.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba63cc6cd56ce23e2ea7a281528fca66fc621f49ac919b60a94f37a2e22080f |
|
MD5 | 8fcdb3d1786f7630d9e36e155e3381d2 |
|
BLAKE2b-256 | c1812fdd049ca37881e11f6ff805467ffcb806f0eb4555bf34025cab95d9368e |
File details
Details for the file text_console-1.0.14-py3-none-any.whl
.
File metadata
- Download URL: text_console-1.0.14-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c27e8a6d81702ce90c5a312d6f4ed96d0d744b1bb0da528cb0d52bffb221e0 |
|
MD5 | f70e851587a158248e05ccf0b1810b6f |
|
BLAKE2b-256 | 244e0bdfd4181477440ef7adf0d935757a619006b54b57532aca69155d000c9c |