Skip to main content

('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 file
  • console_locals: Add custom variables and functions to the console's namespace
  • context_menu_items: Modify the right-click context menu
  • show_about_message: Customize the about dialog content
  • show_help_content: Customize the help window content
  • create_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text_console-1.0.14.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

text_console-1.0.14-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

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

Hashes for text_console-1.0.14.tar.gz
Algorithm Hash digest
SHA256 8ba63cc6cd56ce23e2ea7a281528fca66fc621f49ac919b60a94f37a2e22080f
MD5 8fcdb3d1786f7630d9e36e155e3381d2
BLAKE2b-256 c1812fdd049ca37881e11f6ff805467ffcb806f0eb4555bf34025cab95d9368e

See more details on using hashes here.

File details

Details for the file text_console-1.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for text_console-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 18c27e8a6d81702ce90c5a312d6f4ed96d0d744b1bb0da528cb0d52bffb221e0
MD5 f70e851587a158248e05ccf0b1810b6f
BLAKE2b-256 244e0bdfd4181477440ef7adf0d935757a619006b54b57532aca69155d000c9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page