An input pygame alternative for sublime text users.
Project description
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 !
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
sublinput-1.0.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for sublinput-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68b1ef1c4487f4566bb3e0b0e045e0687e73cd5d3561a05469d49d083ffa4bf |
|
MD5 | 9132ddf6431e0d2a9dcf4471921fd16a |
|
BLAKE2b-256 | 8ab73835a01d5a13a9a06fd2f5d187631138afba5fa4ff9523340d1c060d98d6 |