Dick Moores wrote:
> I'm trying to figure out how to change what a script does while it is 
> running, by pressing a key, such as "k". Can getch() be used for 
> this? 
Google 'python getch' or see this recipe by our very own Danny Yoo:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to