A completely silly question

wes weston wweston at att.net
Fri Dec 17 15:04:25 EST 2004


Amir Dekel wrote:
> Harlin Seritt wrote:
> 
>>
>> Simple, Simple, Simple:
>>
>> Var = raw_input("Some prompting text here: ")
>>
> 
> Frans Englich wrote:
>  >
>  > See sys.stdin
>  >
> 
> What I need from the program is to wait for a single character input, 
> something like while(getchar()) in C. All those Python modules don't 
> make much sence to me...
> 
> Amir

Amir,

 >>> import tkSimpleDialog
 >>> ch = tkSimpleDialog.askstring("","ch?")

wes




More information about the Python-list mailing list