Introduction This tutorial aims to explain and illustrate what basic authentication is, and how to deal with it from Python. You can download the code from this tutorial from the Voidspace Python Recipebook. The first example, So Let's Do It, shows how to do it manually. This illustrates how authentication works. The second example, Doing it Properly, shows how to handle it automatically - with a