I have a file with python code called thread.py. I get the following error when i try to execute it:
Python NameError: global name 'Thread' is not defined
When I change the name to anything else like example1.py, it works perfectly fine. What is the problem?