Python Forum

Full Version: error running python in sublime text3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Maybe watch a tutorial how to setup sublime text
if __name__ == '__main__':
print("hellp")
try this....
this worked for me
fine thanx I solved the error..now its working fine..