Python Threading: Run everything at once with threads!

Опубликовано: 14 Октябрь 2024
на канале: JakeEh
236
15

In this video we go over how to use the threading module built in to Python. Using threads can be a great way to speed up your program if you're doing any form of database handling, expensive computations, or just anything that could take a while.

Enjoy! :)

Join my Discord at   / discord  

Thanks for watching! ❤️

Timestamps:
0:00 Intro
0:52 What is threading?
1:52 Basic Threads
7:46 ThreadPoolExecutor
9:48 Race Conditions
13:00 Locks
15:31 Pipeline single message
23:16 Pipeline using a queue
31:19 Downloading stuff example
33:58 Semaphores, Timers, Barriers
35:00 Outro