Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 error running python in sublime text3
#1
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
Quote
#2
Maybe watch a tutorial how to setup sublime text
Quote
#3
if __name__ == '__main__':
print("hellp")
try this....
this worked for me
Quote
#4
fine thanx I solved the error..now its working fine..
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Error when running the second time metro17 3 146 Aug-30-2019, 12:09 PM
Last Post: ThomasL
  Running python from Sublime Text editor balley810 2 315 Jul-14-2019, 03:40 PM
Last Post: ThomasL
  error running script in python3.7.2 interpreter srm 4 482 May-23-2019, 01:09 PM
Last Post: snippsat
  Syntax Error when running code codeman 3 510 Apr-02-2019, 11:47 AM
Last Post: codeman
  How to display what I write on sublime text editor on the CMD el_bueno 5 464 Feb-04-2019, 02:00 PM
Last Post: buran
  Running pytest gives " 'cannot import name 'session' " error jasonblais 2 682 Oct-10-2018, 05:02 PM
Last Post: jasonblais
  Can't run my code in sublime craver35 2 543 Sep-08-2018, 11:34 AM
Last Post: craver35
  Connecting Anaconda with Sublime Text 3 Atsuko_Zeppeli 2 985 Jul-29-2018, 05:21 PM
Last Post: Atsuko_Zeppeli
  Error message when running autostarted code Python4Mike 4 889 Feb-13-2018, 01:38 PM
Last Post: Python4Mike
  Error in running MS Access Database connection code pyuser1 4 2,996 Feb-01-2018, 08:28 PM
Last Post: pyuser1

Forum Jump:


Users browsing this thread: 1 Guest(s)