[Tutor] how do we represent left arrow key in python programming.

Dave Angel davea at ieee.org
Fri Aug 21 14:11:33 CEST 2009


Ajith Gopinath wrote:
> Hi Folks,
> how do we represent left arrow key in a python program?
> Can anybody help?
> || a j i t ||
>
>   
Be more specific.  Are you writing your gui in wxpython, in gtk, in 
tkinter?  Or are you writing a console program?  In what Python version?

Are you looking to see how an arrow key shows up in a getch() call?   In 
raw_input()?  Or in some event in a gui program?

Are you running on a single platform (eg. Windows)?  Or must the 
approach work several places?

DaveA


More information about the Tutor mailing list