A module that validates whether the input text is a string or an integer
Project description
This module contains 2 functions for user to use. It allows the user to validate whether the input is a string or an integer. Both functions have default values for the prompt text and the error message. These can be set while calling any function from the module. These functions keep asking for the input and only finish when the input is correct. They of course return the input which can be assigned to a variable. To correctly import this module: from ValidateInput import ValidateInput Then you'll be able to access 2 functions: ValidateInput.validate_str() and ValidateInput.validate_int()
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 validateInput-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 648265b8bfd2945eb357f750a16df72442e637c6d99ff349c900783273b50b80 |
|
MD5 | 1a3d9c3755b564f3c1962f17e260977d |
|
BLAKE2b-256 | ef6f44caacbaddf8857820cfb840225c8e78041774f46979cb0de85e499e999c |