Conventions used

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: "It's a good idea to run both of these commands right after installing Raspbian using the sudo command."

A block of code is set as follows:

from time import sleep
import Adafruit_DHT
import paho.mqtt.client as mqtt
import json

Any command-line input or output is written as follows:

pip3 install weather-api

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "In the previous screenshot, we clicked on the Language option."

Warnings or important notes appear like this.
Tips and tricks appear like this.