Chapter 4. Programming with Python
In this chapter, we will bring the book to a boil with the Python programming language, a standard part of a Raspberry Pi distribution and a favorite of Internet of Things users. We'll try out the following:
- Choosing between Python 2 and 3
- Installing important Python packages
- Creating our first Python program and running loops
- Playing with strings
- Plotting graphs using Python
- Sending an e-mail from a Python script
- Creating a program to log and append data to a CSV file
- Using a Python script to upload data online to a Google spreadsheet interface
- Adding help and parameters to your Python Program