Skip to content

Learning to Python


Hi! This book was created at the start of 2019 and is a work in progress. If you would like to contribute please feel free to click the edit icon in the top right-hand corner to create a pull request using GitHub.


Python is one of the most powerful and widely used programming languages from robotics to healthcare, automation and network security. It is the easiest to learn programming language, and this book will to take you from zero to hero in no time.


I am Jason Niebauer, a software engineer and data scientist. If you work at an amazing company and feel like I would be a good addition to the team, please feel free to send me an email. If you want to know about my journey, you can check out my personal website to read the article on how I got into programming.

Table of Contents

  1. Get Started
  2. Python Basics
  3. Control Flow
  4. Lists
  5. Dictionaries
  6. Functions
  7. Manipulating Strings
  8. Classes
  9. Files and Exceptions
  10. Errors and Exceptions
  11. Testing Your Code