raw_input

Eric Texier erict at millfilm.co.uk
Thu Jul 18 13:24:20 EDT 2002


Terry Reedy wrote:

> "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

Yes this is not what I am looking for. I was just hoping that it was
a little module somewhere that will let me edit a line of command
in the console, you know a bit like tcsh. I need it for a stupid raison
and I don't feel having to think too much about it
Thanks anyway





More information about the Python-list mailing list