Module to read input from commandline

thashooski at farifluset.mailexpire.com thashooski at farifluset.mailexpire.com
Sun Apr 13 20:44:21 CEST 2008


What you're looking for is no module, it is included in the standard
python namespace.

raw_input

Use it like this:

value_a = raw_input("Please give a value for a: ")
# do your thing to value_a

But this belongs to the real basics, I suggest you get some reading
done on python.

GL



More information about the Python-list mailing list