2 Python Refresher

This chapter is a refresher on basic Python. The purpose of this chapter is not to comprehensively review all the basic commands in Python. Instead, I’ll provide you with the Python skills that are most important to the rest of the book.

Specifically, you’ll learn the four Python variable types (strings, integers, floats, and Booleans) and how to convert one type to another. Functions are useful tools in programming languages, and you’ll learn to use built-in functions in Python and to import modules in the Python Standard Library.

You’ll also learn how functions work and how to define your own functions. Many modules ...

Get Make Python Talk now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.