Excercise: Extended use of Keyboard keys

Modify the script of the "use of keyboard keys" exercise, so that it uses the

- key "3" to trigger an input field asking you to type your name

- key"#" to display the typed name as a pop-up note.


Example file: ex_extended use_of_keys.py


NOTE: check the "info: use of keyboard keys" site of this tutorial for checking the Key codes of all the different keys of the keyboard available or the API_Reference_for_Python.pdf.







Previous | Next | Menu     Copyright (c) 2006 Jurgen Scheible