Python package - input_num is like input but it only accepts numbers
Project description
input_num
Python package - input_num is like input but it only accepts numbers
Instalation
-
Windows / macOS
Run
python3 -m pip install input_num
-
Linux
Run
python3 -m pip install input_num
Usage
-
Windows / macOS / Linux
Add this to your script:
import input_num
input_num("Enter your age: ")
If you want to allow only positive numbers (numbers WITHOUT - at the begining), use
input_num("Something", False)
. False just means Allow negative numbers = False And it is optional argument
Uninstallation
-
Windows / macOS
Run
python3 -m pip uninstall input_num
-
Linux
Run
python3 -m pip uninstall input_num
FAQ
-
Question
Answernot enough
Do you like this? Hit that ⭐!
Use the star button as way to show us, that it works
Forks and pull requests are welcome of course
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
Hashes for input_num-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bda2a8dac3ae2ba1c14709ee69c4a467630d11850e7cc00a946ba1f1a07aa3 |
|
MD5 | ca9dd1ee310ffb5abf2c86a6d5746374 |
|
BLAKE2b-256 | e0a57e5484c4b54c3f8e0952eb3d29688ce5422e772c2bb2d68eb8e0ae776109 |