New file not running
Can anyone please let me know about this issue I have encountered,I added a new file named as(operatorprecedence.py) in my existing repl but when I run this file,instead of this file the code from the main.py file is running.Why is it so?
Voters
Whenever you press run, it always runs the main.py file. If you want to run the code from the operatorprecedence.py file, you have to use the
import
statment, in this caseimport operatorprecedence