Python twisted: where to start

Question:

I am trying to start learning twisted for socket servers creation. I want to add some useful features (like auth, and maybe some other). Maybe someone can point me to a good tutorial which will help me to start (+ maybe some other ideas)

Asked By: Oleg Tarasenko

||

Answers:

Look here: Twisted Web in 60 seconds. That’s a group of blog posts describing step by step how to do lots of common stuff with Twisted, all written by Jean-Paul Calderone, the biggest contributor of Twisted. It’s really where you should start.

After that, look at the Twisted core documentation then refer to the API and then into the source code.

Have fun!

Answered By: Etienne

There’s a great tutorial here – it’s usually the one I send to new Twisty’s 🙂

http://krondo.com/blog/?page_id=1327

Its worth remembering that Twisted programming is more of a thinking paradigm than a programming one. Also, it’s worth doing away with the client server model too – in Twisted there’s just one broker talking in either direction to another.

Take a look here after the above too:

http://twistedmatrix.com/documents/current/core/howto/pb-intro.html

Enjoy 🙂

Answered By: Ben Hughes
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.