Conventions Used in This Book

The following font conventions are used in this book:

Italic

Used for file and directory names, commands, to emphasize new terms when first introduced, and for some comments within code sections

Constant width

Used for code listings and to designate modules, methods, options, classes, functions, statements, programs, objects, and HTML tags

Constant width bold

Used in code sections to show user input

Constant width italic

Used to mark replaceables

Tip

This icon designates a note related to the nearby text.

Warning

This icon designates a warning related to the nearby text.

Get Programming Python, Second Edition 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.