December 2000
Intermediate to advanced
816 pages
16h 57m
English
Before we explore each standard type, we conclude this chapter by giving a list of types that are not supported by Python.
Unlike Pascal or Java, Python does not feature the Boolean type. Use integers instead.
Python does not have a char or byte type to hold either single character or 8-bit integers. Use strings of length one for characters and integers for 8-bit numbers.
Since Python manages memory for you, there is no need to access pointer addresses. The closest to an address that you can get in Python is by looking at an object's identity using the id() built-in function. Since you have no control over this value, it's a moot point.
Python's plain integers are ...
Read now
Unlock full access