I have saved a python file with name hello.py
and it contains:
when I am running it from cmd it’s working fine. When the file is open and on that I am going to tools ->build,I am getting the output.
But when I am using Sublime text to run the file hello.py
(i.e: open a new file-> writh hello.py then tools->build), I am getting below error.
C:\Users\APK\AppData\Local\Programs\Python\Python39\python.exe: can’t find ‘main’ module in ‘’
My tools-> build system is also set to python