Engine.runAndWait

Dorian -  
jordane45 Messages postés 38486 Date d'inscription   Statut Modérateur Dernière intervention   -

Bonjour,

Je veux juste savoir à quoi correspond "engine.runAndWait()" dans un code python 


Windows / Chrome 109.0.0.0

1 réponse

jordane45 Messages postés 38486 Date d'inscription   Statut Modérateur Dernière intervention   4 752
 

Bonjour,

runAndWait() →  

Blocks while processing all currently queued commands. Invokes callbacks for engine notifications appropriately. Returns when all commands queued before this call are emptied from the queue.

https://pyttsx3.readthedocs.io/en/latest/engine.html

https://www.google.com/search?q=engine.runAndWait%28%29

.


1