Jan-12-2017, 07:04 AM
The reason why i brought up coroutines is that they are reverse generators.
Instead of a yield, they use 'send' which is 'sending' a value from a user routine
to the coroutine. Simply explained here
[url=http://www.juandebravo.com/2015/07/06/demystifying-coroutines-in-python/][/url]
Instead of a yield, they use 'send' which is 'sending' a value from a user routine
to the coroutine. Simply explained here
[url=http://www.juandebravo.com/2015/07/06/demystifying-coroutines-in-python/][/url]