Python Forum
error running python in sublime text3 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: error running python in sublime text3 (/thread-19300.html)



error running python in sublime text3 - srm - Jun-22-2019

Hi trying to work python code in sublime text3 but getting following error
Error:
'python' is not recognized as an internal or external command, operable program or batch file. [Finished in 0.3s with exit code 1] [shell_cmd: python -u "C:\Users\Administrator\AppData\Local\Sublime Text 3\Cache\Python\myfile"]
My .py file is stored in c:\newfolder\firstfile.py


RE: error running python in sublime text3 - ThomasL - Jun-22-2019

Maybe watch a tutorial how to setup sublime text


RE: error running python in sublime text3 - neha8700 - Jun-22-2019

if __name__ == '__main__':
print("hellp")
try this....
this worked for me


RE: error running python in sublime text3 - srm - Jun-22-2019

fine thanx I solved the error..now its working fine..