Hi, Did you take a look at ayncio documentation? It looks a lot of *small* examples.
http://docs.python.org/dev/library/asyncio-eventloop.html#example-hello-world-callback http://docs.python.org/dev/library/asyncio-task.html#example-hello-world-coroutine http://docs.python.org/dev/library/asyncio-task.html#example-future-with-run-until-complete http://docs.python.org/dev/library/asyncio-task.html#example-parallel-execution-of-tasks http://docs.python.org/dev/library/asyncio-stream.html#example http://docs.python.org/dev/library/asyncio-subprocess.html#example There is also the examples/ directory of Tulip source code. If you need more real-world examples, see third party projects using asyncio: http://code.google.com/p/tulip/wiki/ThirdParty Victor 2014-03-07 14:11 GMT+01:00 Chris Withers <[email protected]>: > Hi All, > > I have a need to do a whole bunch or async stuff (lots of different > protocols, db access, file access, etc) and rather than return to twisted or > fiddle with tornado, I wanted to give tulip a go. > > But, I'm a newbie/luddite when it comes to async loops, so I'm a little > scared... > > Where can I find good docs/examples of the right way to be using things? > > Chris
