Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Threading in Python: Summary

You’ve now seen much of what Python threading has to offer and some examples of how to build threaded programs and the problems they solve. You’ve also seen a few instances of the problems that arise when you’re writing and debugging threaded programs.

If you’d like to explore other options for concurrency in Python, check out Speed Up Your Python Program With Concurrency. If you’re interested in doing a deep dive on the asyncio module, go read Async IO in Python: A Complete Walkthrough.

Whatever you do, you now have the information and confidence you need to write programs using Python threading!

Take the Quiz: Test your knowledge with our interactive “Python Threading” quiz. You’ll receive a score upon completion to help you track your learning progress:


Interactive Quiz

Python Threading

This is a quiz that will review topics covered in our An Intro To Threading tutorial.

Avatar image for jeffgorzen

jeffgorzen on May 3, 2020

I wish the example code and slide show was left on the sight!

Avatar image for Ghani

Ghani on Oct. 29, 2020

Excellent course; Thank you so much!

Avatar image for williamhoward50

williamhoward50 on Feb. 24, 2022

Excellent course.

Avatar image for Yuri

Yuri on June 8, 2022

Great Course! I think it is probably one of the best (if not the best) explanation of threading & queue topic I have seen on the internet! Thanks!

Avatar image for ross24

ross24 on Jan. 7, 2024

Agree with others that this is the best explanation of threading, etc on the internet. I’m not sure if other related lessons exist regarding threading but if there are, it would be nice to have a recommneded next steps suggestion.

Avatar image for John M

John M on March 22, 2024

Thanks for the great tutorial, Lee. In the queue example, how can I create many consumer threads while only having one producer?

Become a Member to join the conversation.