Conventions used
Here are the text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “This contains two basic functions: add()
and subtract()
.”
A block of code is set as follows:
def add(a, b): return a + b def subtract(a, b): return a – b
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “This process, known as unsupervised learning, does not require labeled data but instead relies on the patterns inherent in the text itself.”
Tips or important notes
Appear like this.