2 Your Workbench

Your development environment is a major factor in how productive you’ll be in a language. Instead of contenting yourself with a bare-bones default shell, you’ll want to assemble a development environment worthy of any production-level project.

A good Python development environment usually consists of the language interpreter, the pip package manager, a virtual environment, a Python-oriented code editor, and one or more static analyzers to check your code for errors and problems. I’ll discuss each of these in this chapter. I’ll also introduce the style conventions common in Python and round out the chapter with a guided tour ...

Get Dead Simple Python 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.