/ThreadingInPython

These two scripts explain the advantage of Threads in Python programming.

Primary LanguageJupyter Notebook

Simple code to understand Threading in Python

These two scripts explain the advantage of Threads in Python programming.

Threads are used to run multiple modules(function,tasks) at the same time. Multi-threading is not encouraged in Python due to something called Global Interpreter Lock(GIL) read here

Execution time:

Without Threading

With Threads