Reading input / user interaction

Wednesday, Dec 26, 2007

Input

>>> print input.__doc__

input([prompt]) -> value

Equivalent to eval(raw_input(prompt)).

>>> test = input()

['hi']

>>> test

['hi']