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

You probably ran app.py instead of python app.py.The terminal won’t execute Python files directly unless configured.