input

Andreas Penzel mail at andreas-penzel.de
Tue Nov 13 19:04:14 CET 2001


Hello NG!

I am new in the world of python.
First I made some Tuturials, but what I could not find:

How to get an input from the console?

for example: the program starts, givs some prints on the screen and now I
want an input from the user like this:  print "please type your name:"

the input should get into to a variable like user_input = ???

I hope I could explain the problem, that everyone can follow my minds.

- Andreas





More information about the Python-list mailing list