Engine.runAndWait

Fermé
Dorian - 20 janv. 2023 à 22:29
jordane45 Messages postés 38145 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 25 avril 2024 - 20 janv. 2023 à 22:36

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 38145 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 25 avril 2024 4 650
Modifié le 20 janv. 2023 à 22:36

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