I'm not sure the python is multithread supported technology or not, Can someone please clarify the doubt
For further actions, you may consider blocking this person and/or reporting abuse
I'm not sure the python is multithread supported technology or not, Can someone please clarify the doubt
For further actions, you may consider blocking this person and/or reporting abuse
Andrés Álvarez Iglesias -
Justin L Beall -
Furkan Gözükara -
Mel♾️☁️ -
Top comments (2)
Yes, Python has threads, but using multiple threads in Python will give you only concurrency but not parallelism due to the so-called GIL (global interpreter lock).
If you want parallelism in Python, you need multiple processes instead of multiple threads. Check out the multiprocessing module for details of how to use multiple processes in Python.
Same JavaScript I guest