上QQ阅读APP看书,第一时间看更新
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: "We are writing our control loop in Python, so we will use the time.time() function."
A block of code is set as follows:
# set our frame rate - how many cycles per second to run our loop?
FRAMERATE = 30
# how long does each frame take in seconds?
FRAME = 1.0/FRAMERATE
# initialize myTimer
# This is one of our timer variables where we will store the clock time from the operating system.
myTimer = 0.0
Any command-line input or output is written as follows:
Sudo apt-get install python-pip python-dev build-essential
Sudo pip install –upgrade pip
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: "One concept you will hear around AI circles is the Turing test."
Warnings or important notes appear like this.
Tips and tricks appear like this.