dinput(output = 'Please enter an integer: ', sinput = 'Illegal input, try again.',
datatyp = int, ranges = False, lowerlimit = 0, upperlimit = 100,
rsinput = "Integer does not lie between 0, 100: " ):
for example:
>>>a = dinput()
>>>Please enter an integer: sd
Illegal input, try again.
>>>Please enter an integer: 43
>>> a
43
>>>a = dinput(ranges = True)
>>>Please enter an integer: sd
Illegal input, try again.
>>>Please enter an integer: 477
Integer does not lie between 0, 100
>>>Please enter an integer: 100
>>>a
100
If there are some bugs, please send me an email: masatamara@gmail.com
Metadata
Release files for inputhandler 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 | Provenance | Actions |
|---|---|---|---|---|
| inputhandler-1.0.1.zip | 1.4 kB | Without provenance | Details for inputhandler-1.0.1.zip |
Release files / inputhandler-1.0.1.zip
| Download URL | inputhandler-1.0.1.zip |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58b68794b37af6786e0e03fa4c2908e399a694cc5c72dc44e66c864c137d8a73
|
|
BLAKE2b-256 checksum How to use checksums |
d74ef3db08d780e3dffa1603d6102e665f14b01c64e02abddbe1337cbf2a2595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for inputhandler 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.