00-Get validated input from console apps in Python, Lua and C# - Python - part 1

Опубликовано: 20 Март 2026
на канале: Inksaver
107
1

This is the first video in a series of 6, using a couple of Python modules used as static classes. This one covers getting validated strings, integers and floats.

A keyboard input class for console projects in Python, Lua and C# Ideal for console based projects with no GUI, this class controls input from users to get the required data without errors.

Want them to enter an Integer value betwwen -5 and 25? Sorted. They cannot just hit the Enter key, type a value that cannot be converted, or even a value outside limits you set.

There are equivalent classes in Python, Lua and C#.

They are invaluable to students, especially when learning any of the above languages at an early stage.

Enabling utf8 characters in Windows 10 see this post:

https://stackoverflow.com/questions/5...

Github repository:

https://github.com/Inksaver/Keyboard_...