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, folder names, filenames, file extensions, pathnames, and user input are shown as follows: "This will open the crontab file in nano, which is a command line text editor."

A block of code is set as follows:

def loop():
    print "switch state:", digitalRead(SW_PIN)
    delay(250)
run(setup, loop)

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

root@beaglebone:/var/lib/cloud9# ping -c 3 graycat.io
PING graycat.io (198.100.47.208) 56(84) bytes of data.

New terms and important words are shown in bold. Words that you see on the screen, for ...

Get Learning BeagleBone Python Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.