Python AsyncIO - Streams - Client and Server

AsyncIO is the new hot topic for Python 3.4 which was just recently released. In my opinion, AsyncIO is a big game changer for Python. Where it makes sense, many libraries are sure to port some or all of their code to take advantage of it. I'm going to show you my version of a client and server I wrote after digesting section 18.5 of the Python documentation and looking at a few examples on the web.

more ...

Using the Anaconda Python Distribution

As a followup to my article about pyenv, I decided it was worth also taking a look at Anaconda/Miniconda an alternate install for Python 2/3. It is available for Windows, OSX, and Linux. I will walk you through obtaining and installing using miniconda3 (a minimal install). I will also introduce you to the conda tool for creating and using environments and installing packages.

more ...

Building Python on Ubuntu with pyenv

Have you ever wanted a newer version of Python on your Ubuntu install? For example, Ubuntu 12.04.4 provides Python 2.7.3 and Python 3.2 versions, but you'd like to use a feature only available in 3.3+. Or perhaps, you need to test something on 2.6.6 to match what is avilable on Centos 6. In this article, I'm going to show you how to install a newer version of Python that installs in your home directory without breaking your system's default installed version of Python. You will also be able to switch between the system and your local versions, and still use tools such as pip and virtualenv.

more ...