Chapter 2. Data Types
In this chapter we begin to take a much more detailed look at the Python language. We start with a discussion of the rules governing the names we give to object references, and provide a list of Python’s keywords. Then we look at all of Python’s most important data types—excluding collection data types, which are covered in Chapter 3. The data types considered are all built-in, except for one which comes from the standard library. The only difference between builtin data types and library data types is that in the latter case, we must first import the relevant module and we must qualify the data type’s name with the name of the module it comes ...
Get Programming in Python 3: A Complete Introduction to the Python Language 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.