pcmrityunjoy / ThreadingInPython

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Jupyter Notebook 100.0%