0
Comment utiliser l'objet actif en python pour s60? quelqu'un peut-il me donner un exemple de code?objet actif en python pour s60
Comment utiliser l'objet actif en python pour s60? quelqu'un peut-il me donner un exemple de code?objet actif en python pour s60
Il y a un exemple simple here:
def run(self):
self.lock = e32.Ao_lock()
self.lock.wait()
# restore old title etc. and finish
def exit_callback(self):
# unlocks the application and lets it finish
self.lock.signal()
et même URL contient également une explication détaillée (et plus d'informations, tutoriel et par ailleurs, sur Python pour S60).
merci, vous, mec! Je vais chercher dans le lien :) –
J'écris cela dans le code source, puis exécutez-le Sur pythonScriptShell –
il y a une option pour exécuter le script –