August 2018
Intermediate to advanced
344 pages
9h 20m
English
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 ...
Read now
Unlock full access