https://github.com/yjg30737/pyqt-console
PyQt console which ansi2html package is applied, colorful, console-like output like cmd, bash, etc.
https://github.com/yjg30737/pyqt-console
pyqt pyqt-examples pyqt-gui pyqt-tutorial pyqt5 pyqt5-gui qt
Last synced: 12 months ago
JSON representation
PyQt console which ansi2html package is applied, colorful, console-like output like cmd, bash, etc.
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-console
- Owner: yjg30737
- License: mit
- Created: 2023-10-30T02:50:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T07:58:26.000Z (over 2 years ago)
- Last Synced: 2025-05-21T02:46:18.155Z (about 1 year ago)
- Topics: pyqt, pyqt-examples, pyqt-gui, pyqt-tutorial, pyqt5, pyqt5-gui, qt
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-console
PyQt console which ansi2html package is applied, colorful, console-like output like cmd, bash, etc.
The console widget (with the class name 'ConsoleWidget') inherits from QTextBrowser and extracts the results of specific commands in this QTextBrowser.
This will be used a lot for PyQt-AI related applications, so i want to share this with you :)
You have to check each `ConsoleThread` class in pyqt_console_thread.py and `ConsoleWidget` class in pyqt_console.py to know how this works, if you want to use it :)
## Reqirements
* PyQt5 >= 5.14
* ansi2html
## How to
1. git clone ~
2. pip install -r requirements.txt
3. python main.py
## Preview
