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 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.