Please use English or use the Spanish forum (Por favor, utilizar Inglés o utilizar el foro en Español).
Translated by http://babelfish.yahoo.com/:
When installing sis of an application done in python does not work the key To leave but when scripts of the application in python shell if it works. That it needs to me to do or because does not work?
Did you use the set_exit method of the application instance? Something like this:
This is necessary for installed applications (meaning SIS files). More information is available in the PyS60 Library Reference, the section about appuifw.
appuifw.app.exit_key_handler = appuifw.app.set_exit