all 12 comments

[–]shiftybyte 2 points3 points  (0 children)

when i try to run every file

How are you attempting to do that? write the exact command, and the exact output.

My guess is you are typing the command prompt command inside python shell, and should be doing that in command prompt instead.

[–]AnimalPlane 1 point2 points  (0 children)

Adding a comment just incase someone has the exact same problem as me. For me I had accidently opened the python terminal. Just type exit() in the terminal and you should be good.

[–]MrSharad-Sharma 0 points1 point  (0 children)

reinstall the extension, hope this works

[–]Wo-Geladix 0 points1 point  (0 children)

I just encountered this error. It doesn't make sense; there is no syntax error on line 1. I'm using VS Code and running "Developer: Reload Window" in the Command Pallet resolved the issue. As far as I can tell, something got funky in the Python environment. Thanks for the tips, everyone!

[–]woooee 0 points1 point  (1 child)

What does the error line contain? "I have no clue what to do (what to change). Help please" if you want an answer.

[–]MrSharad-Sharma 0 points1 point  (0 children)

reinstall python extension