Learning Python Network Programming by Faruque Sarker and Sam Washington

Bibliographic Information:
Title: Learning Python Network Programming
Editor: Dr. M. O. Faruque Sarker
Sam Washington
Edition: 1st
Publisher: Packt Publishing
Length: 320 pages
Size: 5.35 MB
Language: English

Python is a full-featured object-oriented programming language with a standard library that includes everything needed to rapidly build powerful network applications. In addition, it has a multitude of third-party libraries and packages that extend Python to every sphere of network programming. Combined with the fun of using Python, with this book, we hope to get you started on your journey so that you master these tools and produce some great networking code.

It is highly recommended that you use Python virtual environments, or "venvs", when you work with this book, and in fact, when doing any work with Python. A venv is an isolated copy of the Python executable and associated files, which provides a separate environment for installing Python modules, independent from the system Python installation. You can have as many venvs as you need, which means that you can have multiple module configurations set up, and you can switch between them easily.

Most major Linux distributions come preinstalled with Python 2. When installing Python 3 on such a system, it is important to note that we're not replacing the installation of Python 2. Many distributions use Python 2 for core system operations, and these will be tuned for the major version of the system Python. Replacing the system Python can have severe consequences for the running of the OS. Instead, when we install Python 3, it is installed side by side with Python 2. After installing Python 3, it is invoked using the python3.x executable, where x is replaced with the corresponding installed minor version. Most packages also provide a symlink to this executable called python3, which can be run instead.Packages to install Python 3.4 are available for most recent distributions, we'll go through the major ones here. If packages are not available, there are still some options that you can use to install a working Python 3.4 environment.

Pythonz is a program that manages the compilation of Python interpreters from source code. It downloads and compiles Python from source and installs the compiled Python interpreters in your home directory. These binaries can then be used to create venvs. The only limitation with this installation method is that you need a build environment (that is, a C compiler and supporting packages) installed on your system, and dependencies to compile Python. If this doesn't come with your distribution, you will need root access to install this initially. The complete instructions can be found at https://github.com/saghul/pythonz.

Dont' miss Latest Books inside your Box and Join 5000+ Subscribers.
And VERIFY EMAIL After Subscription Because Without Verifying You Won't be Able to Get Latest Book.