I\'m a little confused about what setting a thread to be a daemon means.
The documentation says this:
A thread can be flagged as a “daemon
Setting thread.daemon = True will allow the main program to exit. Apps normally wait till all child threads are finished before completing.
thread.daemon = True