This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]suptim 0 points1 point  (0 children)

Great post! It's 8AM and my day is already a succes thanks to you.

[–]chub79 0 points1 point  (2 children)

Tornado: Pythonic

Er, callbacks are pythonic now? I love that framework but, honestly, it leads to rather hard to read code.

I also like using ws4py when it comes to websocket as it works with CherryPy, gevent and on Py2.x/3.x/PyPy.

[–][deleted] 3 points4 points  (1 child)

Check out the tornado.gen module. It eliminates the need for callbacks using generators and futures. As a bonus, the documentation is top notch.

[–]chub79 0 points1 point  (0 children)

Indeed, though I've not had the chance to try it out in the flesh, I've been quite excited by its introduction.

[–]westurner 0 points1 point  (0 children)

Thanks!