3 ms·
Yeah, there's no accepted way to do Websockets in Python. I'd say Autobahn is probably the closest we have to something like that. That said, it isn't too diff
by temuze 13y ago
Yeah, there's no accepted way to do Websockets in Python. I'd say Autobahn is probably the closest we have to something like that.
That said, it isn't too difficult to hack something together. Kenneth Reitz did a nice little project for Flash websockets that I like:
http://kennethreitz.org/introducing-flask-sockets/ http://kennethreitz.org/introducing-flask-sockets/
Python 3.4 has that nice ayncio module built in. I'm hoping it'll be a big draw for people into Python 3.