What you need for this book

This book is aimed at Python 3. While many of the examples will work in Python 2, you'll get the best experience working through this book with a recent version of Python 3. At the time of writing, the latest version is 3.4.3, and the examples were tested against this.

Though Python 3.4 is the preferred version, all the examples should run on Python 3.1 or later, except for the following:

  • The asyncio example in Chapter 8, Client and Server Applications, as the asyncio module was only included in Version 3.4
  • The Flask example in Chapter 9, Applications for the Web, which requires Python 3.3 or later

We're also targeting the Linux operating system, and the assumption is made that you are working on a Linux OS. The examples ...

Get Learning Python Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.