Feb-02-2018, 06:41 AM
(Feb-02-2018, 03:57 AM)Larz60+ Wrote: i just want to know the "pythonic way" to send to a generator.I don't think 'sending' to a generator is pythonic. You can as well write a small class an call a method instead of sending an item. It's conceptually simpler and more flexible. This is my humble opinion.