Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

if you require a special datatyp from input()

Project Description
The modul "inputhandler" provides the function
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
>>>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

If there are some bugs, please send me an email:
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (1.4 kB) Copy SHA256 Checksum SHA256 Source Oct 14, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting