Learn to Program in Python
By Jonathan Street
A beginners guide to the Python programming language.

Target skills

debugging
test driven development
documenting code
object oriented programming
Python
Programming for Everybody (Getting Started with Python)
6 weeks
Learn Python from scratch and prepare yourself for a future in programming On this programming course, you’ll go from a complete beginner with no prior programming experience to having a solid understanding of the Python programming language. You’ll begin by completing basic exercises that focus......

String Concatenation and Formatting - Intermediate Python Programming p.2
13 minutes
Welcome to part 2 of the intermediate Python programming tutorial series. In this part, we're going to talk about strings. Strange that we find such a topic in an intermediate series, but it's probably one of the most common things done improperly. https://pythonprogramming.net https://twitter.c......

List comprehension and generator expressions - Intermediate Python Programming p.4
6 minutes
Welcome to part 4 of the intermediate Python programming tutorial series. In this part, we're going to talk about list comprehension and generators. To begin, let's show a quick example and reason for both. A generator that is used commonly is Python 3's range() generator (Python 2's xrange). h......

Timeit Module - Intermediate Python Programming p.6
11 minutes
Welcome to part 6 of the intermediate Python programming tutorial series. In this part, we're going to talk about the timeit module. The idea of the timeit module is to be able to test snippets of code. In our previous tutorial, we were talking about list comprehension and generators, and the di......

Object Oriented Programming Introduction - Intermediate Python Programming p.13
11 minutes
Welcome to part 13 of the intermediate Python programming tutorial series. In this tutorial, we're going to introduce the concept of Object Oriented Programming (OOP), which is a topic that will be present in quite a bit of the rest of this entire series. Almost immediately, you will be able to s......

Decorators - Intermediate Python Programming p.18
8 minutes
Welcome to part 18 of the intermediate Python programming tutorial series. In this tutorial, we are going to be discussing decorators, which can be used to sort of wrap or quite literally add some "decoration" to functions and methods. https://pythonprogramming.net https://twitter.com/sentdex ht......

Logging - Intermediate Python Programming p.22
14 minutes
Welcome to part 22 of the intermediate Python programming tutorial series. We're going to be covering logging in Python . The idea of Python's logging module is to make your life easier. Have you ever maybe added print functions/statements in your code at various places to note where your code i......

Error Handling - Intermediate Python Programming p.23
6 minutes
In this tutorial, we cover a method for handling errors in larger programs, since, normally, if you just return the str(e), the error is relatively minimalistic, and you may actually want to grab more information. For this reason, we're going to use the sys module to get more information from the......

Multiprocessing - Intermediate Python Programming p.10
11 minutes
Welcome to part 10 of the intermediate Python programming tutorial series. In this part, we're going to talk about the built-in library: multiprocessing. Let us take a moment to talk about the GIL. The GIL stands for Global Interpreter Lock. What the GIL does for us is... hmm... well it serves a......

Target skills

debugging
test driven development
documenting code
object oriented programming
Python