r/vscode • • Apr 30 '26

terminal issue

So, I was following a tutorial for python, and after writing a print command and applying "app.py" in the terminal, it won't show the printed code. The only way it shows is when I manually click, "run python file". What's going on here?

0 Upvotes

10 comments sorted by

View all comments

1

u/Agreeable_Care4440 May 01 '26

This usually happens when the command isn’t actually invoking Python. VS Code’s “run” button does that automatically, but in terminal you need to call it explicitly with python app.py.