When Running The code
import Project1, Project2, Project3from threading import ThreadThread(target=Project1.py).start()Thread(target=Project2.py).start()Thread(target=Project3.py).start()to run multiple files at once it always come up with the error "
Traceback (most recent call last):File "c:\Users\aiden\OneDrive\Documents\Code\Test Projects\Code\Python\Run.py", line 4, in Thread(target=Project1.py).start()^^^^^^^^^^^AttributeError: module 'Project1' has no attribute 'py'
"Although the 3 files still all run.
I Tried To Add A return statement although that did not workI Also tried to remove the .py although the just gives more errors