Sublinput
A sublime pygame ui as alternative to unsupported python input built-in.
Install
pip install sublinput
or
python -m pip install sublinput
Usage
You only needs to input the package then use the default input function as usual !
import sublinput
n = int(input("Enter a number: "))
When an input function is called, the following windows will appear, with title being the input message.
Type in the windows as a usual input function.
Then press enter (not keypad enter) to submit the value.
An input-like log will be printed.
Enter a number : 42
Then it will return the submit value as a str.
You only need to remove the import sublinput from your code to disable it !
Release files for sublinput 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sublinput-1.0.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sublinput-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / sublinput-1.0.1.tar.gz
| Download URL | sublinput-1.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8a88fc91990c23dd5403965119e2f41bb5d09cb65f6257e31831c5ec11dd623
|
|
BLAKE2b-256 checksum How to use checksums |
f39c3dc4a4167a0a12a384c5f509bd2086ebc9a0b159e17e172d42deb42d7169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2
|
Release files / sublinput-1.0.1-py3-none-any.whl
| Download URL | sublinput-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7596b1cb3d83848f5a30d7754f0ac8b01a9641e39332a8fc75d840cb92257320
|
|
BLAKE2b-256 checksum How to use checksums |
792669e5d0dab0450f9e71e443c857d395f83cca40bff2d220f083acaff47559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2
|