Python Network Programming
by Abhishek Ratan, Eric Chou, Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker
Getting ready
You need to install the third-party Python module, twisted. This can be grabbed from PyPI (https://pypi.org/project/Twisted/). Both on Windows and Linux hosts, you may need to install some additional packages. The installation procedure is documented at https://twistedmatrix.com/trac/.
Follow the following guidelines to install Twisted in your Debian/Ubuntu based Linux distributions.
Twisted suggests against installing anything into global site-package. It recommends using virtualenv to set up isolated publish/subscribe modules. virtualenv is a product aimed to create isolated execution environments for Python. While we can indeed make Twisted work by directly installing the bundles using pip, we respect the suggestion of Twisted, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access