Reading user input

Teemu Keskinarkaus teemu.keskinarkaus at ramk.fi
Sun Apr 30 07:36:25 EDT 2000


On Fri, 28 Apr 2000 13:54:39 +0200, =?iso-8859-1?Q?Ulf_Engstr=F8m?=
<ulf.engstrom at b2b-link.com> wrote:

>I guess what you're looking for is raw_input(). Works like this:
>>>> text = raw_input('Enter text here->')
>Enter text here->Anything I want
>>>> text
>'Anything I want'
>Hope it helps :)
That's it! That I was looking for. I've coded with C so many years
that I didn't noticed that. I was looking for getch or readline (or
something like that) function. :) 

Thanks for answers.

TK



More information about the Python-list mailing list