In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."
A block of code is set as follows:
if distance is None: distance = rate * time elif rate is None: rate = distance / time elif time is None: time = distance / rate
Any command-line input or output is written as follows:
>>> circumference_diameter_ratio = 355/113 >>> target_color_name = 'FireBrick' >>> target_color_rgb = (178, 34, 34)
New terms and important words are shown in bold.
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.