Best way to wait for string input

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Mar 29 13:57:13 EDT 2007


In <1175189403.036584.239880 at o5g2000hsb.googlegroups.com>, kevinliu23
wrote:

> Python newbie here for some expert help. So basically I want to design
> a menu system that waits for a string input. I'm not sure what the
> best way of going about this is. The current system waits for a single
> character input using msvcrt.kbhit( ) and msvcrt.getch( ). Is there
> something equivalent to wait for string inputs?

The builtin `raw_input()`?

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list