raw_input
Terry Reedy
tjreedy at udel.edu
Thu Jul 18 12:41:55 EDT 2002
"John Hunter" <jdhunter at nitace.bsd.uchicago.edu> wrote in message
news:m2ofd5xdrg.fsf at mother.paradise.lost...
> >>>>> "Eric" == Eric Texier <erict at millfilm.co.uk> writes:
>
> Eric> It's there anything better than raw_input to query a
string
> Eric> input from the user in a console window. Thanks, Eric
>
> x = input('Enter a value: ')
Ummm.... Since imput eval()s the input, this can be extremely
dangerous -- so dangerous that some people think input() should be
removed. There have been many prior postings on this subject.
tjr
More information about the Python-list
mailing list