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_numinput_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
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 input_num-0.0.13.tar.gz.
File metadata
- Download URL: input_num-0.0.13.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b7d313e02784cb542e63e00a3f9673cd86c06b7a87545d7c0cc636193c88d73
|
|
| MD5 |
9371c0705c58790925277f4626868e10
|
|
| BLAKE2b-256 |
73759cebd2e62b77f38376e356d9109f3ac44632ec096fe4b8d6e7ec75629a7e
|
File details
Details for the file input_num-0.0.13-py3-none-any.whl.
File metadata
- Download URL: input_num-0.0.13-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6287bcf54f73e3f4ff4eb61f6ed283432919ee14f4b1c1eefcb22871f3427914
|
|
| MD5 |
b484ad1d1ef61e97c22adb635fa2f87e
|
|
| BLAKE2b-256 |
7a1464588a09301b8f9bdc463cb82bfcce140679ecb1ad564d9f2a6bf460dbcb
|