Magically turn your CLI into a GUI program and make it more user friendly.
Project description
guiprint
Magically turn your CLI into a GUI program and make it more user friendly.
Free software: MIT license
Features
Replaces print() with a nice dialog box
Replaces input() with a nice input dialog.
Installation
Open your terminal and type the line below to install guiprint
pip install guiprint
In order to use it, first import it and write the following code at the very beginning. Try it on your existing project and your CLI should turn into a basic GUI program.
import guiprint
print = guiprint.print
input = guiprint.input
After just inserting these lines before any existing CLI program, run the program again and see the magic!
Additional Features
To use the Input function as a Yes/No Dialog box, set the optional mode parameter to ‘yesno’ like this,
x = input("Are you sure?", mode="yesno")
You can also let user choose an option from multiple options like this,
x = input("What's your favorite cricket team?: ", mode="multiple", options=["Bangladesh", "Zimbabwe", "Australia"])
Author: Md. Ashraful Islam
History
0.1.0 (2022-07-17)
First release on PyPI.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guiprint-1.0.4.tar.gz.
File metadata
- Download URL: guiprint-1.0.4.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15d964dc3715454ca9668435207618820dc4d3803ab85f25859354924412d19d
|
|
| MD5 |
5f1af276dcba754a4154dd7e38a3ee36
|
|
| BLAKE2b-256 |
690a56f99418042fc36f5e1f12610943cb3e6da09b74222f329c08e6b5b68ba8
|
File details
Details for the file guiprint-1.0.4-py2.py3-none-any.whl.
File metadata
- Download URL: guiprint-1.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
794fe8ff1db29d71980568411b931a5230aedac0ae71467f4af7221f10720ec1
|
|
| MD5 |
947e2b2a32805872863f7899fba2a9d4
|
|
| BLAKE2b-256 |
adb9aafd0b0f5483e68d5c20a182b35f642619719bf2331c8aa543cbdbdce5f6
|