There are a number of text conventions used throughout this book.
CodeInText: 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: "From the installation directory, we just need to invoke python.exe, which will invoke the Python interpreter."
A block of code is set as follows:
index="main" earliest=0 | where interface_name="Loopback45" | dedup interface_name,router_name | where interface_status="up" | stats values(interface_name) values(interface_status) by router_name | table router_name
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
# map URL to Classes
app.add_route("/decode", decod)
app.add_route('/encode', encod)
Any command-line input or output is written as follows:
pip install gevent
Warnings or important notes appear like this.
Tips and tricks appear like this.