Conventions
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: "Call it helloworld.py
and press finish."
A block of code is set as follows:
void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
print("Burglar Alarm Program Initializing") init("< your push overtoken>") CLIENT_ID = "<your client ID>" PATH = "C:\\<your python folder>\\mug_shot.jpg" im = pyimgur.Imgur(CLIENT_ID)
Any command-line input or output is written as follows:
sudo apt-get update && sudo apt-get install arduino arduino-core
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "The Board option opens up all the different boards that the software supports."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.