I l@ve RuBoard Previous Section Next Section

Chapter 2. Types and Operators

This chapter begins our tour of the Python language. From an abstract perspective, in Python we write programs that do things with stuff.[1] Programs take the form of statements, which we'll meet later. Here, we're interested in the stuff our programs do things to. And in Python, stuff always takes the form of objects. They may be built-in kinds of objects Python provides for us, or objects we create using Python or C tools. Either way, we're always doing things to objects in Python.

[1] Pardon our formality: we're computer scientists.

Naturally, there's more to Python development than doing things to stuff. But since the subjects of Python programs are the most fundamental notion in Python programming, we start with a survey of Python's built-in object types.

I l@ve RuBoard Previous Section Next Section