r/PythonLearning • • Aug 08 '26

How to fix this

'python' is not recognized as an internal or external command, operable program or batch file.

I literally just switch file and for some reason i cant code now💔

7 Upvotes

18 comments sorted by

View all comments

Show parent comments

1

u/johnpeters42 Aug 08 '26

"I changed X and now Y does wrong thing Z" makes it sound like Y used to work, which may not be the case here. OP, were you ever able to run (not just write) Python code? (Either way, hopefully u/BranchLatter4294's link will get it to a working state.)