Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "We can create a Pool
object of concurrent worker processes, assign tasks to them, and expect the tasks to be executed concurrently."
A block of code is set as follows:
GIMP Palette Name: Crayola Columns: 16 #
Any command-line input or output is written as follows:
def max(a, b): f = {a >= b: lambda: a, b >= a: lambda: b}[True] return f()
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.