two questions - no common theme

Sean McIlroy sean_mcilroy at yahoo.com
Wed Feb 9 15:07:57 EST 2005


And now for a pair of questions that are completely different:

1) I'd like to be able to bind callbacks to presses of the arrow
buttons on the keyboard. How do you say that in Tkinter?

2) The function 'listdir' in os.path returns a list of all the files
in the given directory - how do I get hold of a list of its
subdirectories?

Any help will be greatly appreciated.

Peace,
STM



More information about the Python-list mailing list