Creating network apps with Twisted

TWISTING PYTHON

Article from Issue 64/2006
Author(s):

The Twisted framework makes it so easy to create network-aware applications in Python. Twisted speaks all the major Internet protocols, from mail through chat, and it can handle encryption. We’ll show you how to set up a personal web server with Twisted.

Most programmers eventually face the task of adding network communication capabilities to their applications. If it is simply a case of manipulating web content, there are simple answers, but more complex functions, such as adding full-fledged email capabilities or a complete web server, involve much more effort. Although the Python standard library has modules to match most walks of a programmer’s daily life (batteries included, in Python-speak), special applications require external packages. Twisted [1] is a well-organized and powerful collection of modules for adding networking capabilities to Python programs.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus

Direct Download

Read full article as PDF:

Twisted.pdf (192.80 kB)

News