I was really confused by sys.exit() in python.
In python documentation, it says \"Exit from Python\"; does that mean when sys.exit() is called in a python progr
In your case, the end of the program is when the last thread will be terminated. Maybe kind of join() method(like in Java) in python will wait for other threads.
Please, read this article(: there is a good explanation how to play with threads in your case Use of threading.Thread.join()
and
documentation https://docs.python.org/2/library/threading.html (but relax, it is only for additional knowledge.
and read this article about daemon property(if you do not want to wait for others threads become terminated Meaning of daemon property on Python Threads