(Jun-18-2020, 07:03 AM)Gribouillis Wrote: There are 9 simple examples like this one on the pymotw3 page I linked above...True I will dig it again.
But I don't understand in his example Scheduling Individual Tasks he use
from concurrent import futures AND import threading AND import time
Why using both module ? concurrent & Threading ?
(Jun-18-2020, 07:10 AM)Gribouillis Wrote: I think it should be
future = executor.submit(talk, 'This will be, a long text for testing purpose.')You don't call the function. Just pass the function and its arguments tosubmit
.
![[Image: giphy.gif]](https://media.giphy.com/media/L19Fn7nZWfqnmAjTcH/giphy.gif)
It worked ! Thank you @Gribouillis

![[Image: NfRQr9R.jpg]](https://i.imgur.com/NfRQr9R.jpg)