Python for Programmers
The Building Blocks
Python is a very readable language. Assuming you’ve had some previous experience in programming, you should be able to read and understand the code presented in the book without much trouble. That said, this book would be incomplete without some coverage of the Python programming language.
In this chapter, I’ll take you on a quick tour of the Python building blocks, providing short examples along the way. We’ll start by going through the basics of invoking and using Python interactively and noninteractively, entering expressions, and running scripts. Next, we’ll cover the basic building blocks ...