The Invent with Python Blog

Writings from the author of Automate the Boring Stuff.

Live Online Python Class on Twitch on October 21, 2019

Sun 20 October 2019    Al Sweigart

Hello, I'm Al Sweigart. I'm the author of Automate the Boring Stuff with Python, and I'll be doing a live online Python class for beginner- and intermediate-level programmers on Twitch on Monday evening, October 21, 2019. The URL is and the stream will begin at 6pm Pacific. If you want to join in the chat, you'll need to sign up for a (free) account on Twitch. However, you'll be able to watch the stream without an account. I'll post a link to the video if you're reading this after the stream.

I'll also be releasing a free code for my online course that follows the "Automate the Boring Stuff with Python" on the stream (and on this page after the stream). Unfortunately, due to changes in Udemy's policies, this code will only work for three days and will stop working after Wednesday, October 23. Udemy has limited how often I can make free codes, so I won't be able to create new ones for those who miss this one. You'll be still be able to watch the first 15 videos of the 50-video course at anytime on YouTube.

EDIT: The coupon code is OCT2019FREE, but is only valid until Wednesday, October 23, 2019.

Class Format: The format for the class is that I'll be working through several beginner level coding projects. I'll take a look at these programs, and show you how I write them step by step. You can follow along, or simply re-type the source code yourself and try running the programs. The programs are from a repo of small, simple Python games I've been developing.

The programs we'll be covering, in order starting at 6pm, are:

You can read through the code to familiarize yourself with them beforehand, but it isn't required. I expect the process for each of these programs will be:

  1. Explaining what the game is or what the program does.
  2. A demonstration of running the completed program.
  3. Starting with a blank file, and stubbing out the general parts of the program with comments.
  4. Filling in the code while describing the data structures/algorithms used.

I'll be copying the code from GitHub exactly, which is a bit artificial in the way that I normally write code, but I'm doing it this way so that the audience doesn't have to follow exactly along with code as I type. Instead, you can move slower or faster by copying the code from the repo. I recommend having a browser window open with the code and copying it by typing it yourself (as opposed to copy/pasting it).

Prerequisites: You'll be expected to have Python 3 installed on your computer along with an IDE or text editor for writing Python programs, such as IDLE or PyCharm or Visual Studio Code. This class is for beginners, but not complete beginners: I'll expect that you've written a "Hello world" program and gotten it to run on your computer. However, even if you're a complete beginner, feel free to watch along to get an idea for how programs are written by programmers.

I offer a blog post I wrote, "How to Ask for Programming Help" to read before the live stream. There are several techniques that make it much easier for folks to answer your questions (copy/pasting your code to a pastebin, stating the exact error message, describing what you've already tried, describing your OS and Python versions, etc.) that can make it much easier to answer your questions.

Questions are welcome, but unfortunately I cannot help you with environment setup on your computer. This tends to hold up the class for hours, and it'd mean I couldn't progress with the class. Please make sure you are able to run a print('Hello, world!') program on your computer. The projects are designed to not require any third-party modules or additional libraries that need to be installed.

Streaming Schedule: I hope to make this a regular occurring stream, and I'll be taking notes on the format and what works and what doesn't. I hope to make this a weekly or twice-weekly event. This is a casual streaming event on the internet, but you should treat it as a professional event with mixed company. The general rules for chat are stated as, "No harassment, offensive/edgy/"ironic" jokes, or complaining about moderators. Keep it classy and on topic. Young adults should be able to watch and participate without their parents cringing."

Learn to program for free with my books for beginners:

Sign up for my "Automate the Boring Stuff with Python" online course with this discount link.

Email | Mastodon | Twitter | Twitch | YouTube | GitHub | Blog | Patreon | LinkedIn | Personal Site