Re:The Python Road Not Taken
by kyllo on Tuesday April 21, 2015 @04:21PM
(#9416776)
Well here's a great blog post on how to use the @asyncio.coroutine decorator to do asynchronous/non-blocking I/O in this style, as opposed to JS-style callbacks. I think the control flow is a lot clearer with coroutines as opposed to callbacks. I've never used Twisted though so I'm not sure how asyncio compares to that library.
http://sahandsaba.com/understanding-asyncio-node-js-python-3...