# Terminal feedback errors

**URL:** <https://forum.codewithmosh.com/t/terminal-feedback-errors/8938>\
**Category:** Python\
**Created:** [December 2, 2021, 6:13pm UTC](https://forum.codewithmosh.com/t/terminal-feedback-errors/8938 "2021-12-02T18:13:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![demoralizingtalent](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@demoralizingtalent](https://forum.codewithmosh.com/u/demoralizingtalent)\
**Post date:** [December 2, 2021, 6:13pm UTC](https://forum.codewithmosh.com/t/terminal-feedback-errors/8938/1 "2021-12-02T18:13:40Z")

</div>

Hi everyone! just starting out on python like many of you, i have more experience with pycharm than visual studio. so my question is, why am i getting this error:

app.py : The term ‘app.py’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the  
spelling of the name, or if a path was included, verify that the path is correct and try again.  
At line:1 char:1

- app.py
- 

```auto
  + CategoryInfo : ObjectNotFound: (app.py:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

```

when trying to speak to the terminal, i tried rewatching how mosh does it but i am using windows not a mac and he doesnt get into detail about it he just says its supposed to work automatically. is there a setting i need to change? im also typing these things into visual code:

PS C:\Visual Code files\> python

 ![unknown_2021.12.02-12.12_1](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/d/dea20a60dbadf763d335dd96edde850c79367f55.png)

PS C:\Visual Code files\> $python  
PS C:\Visual Code files\> app.py

---

<div class="post-metadata">

**Author:** ![Paul](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@Paul](https://forum.codewithmosh.com/u/Paul)\
**Post date:** [December 2, 2021, 6:25pm UTC](https://forum.codewithmosh.com/t/terminal-feedback-errors/8938/2 "2021-12-02T18:25:08Z")

</div>

You should type only

`pyhon app.py`

In the same directory as app.py. Do not pre-fix a $-sign.

---

<div class="post-metadata">

**Author:** ![demoralizingtalent](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@demoralizingtalent](https://forum.codewithmosh.com/u/demoralizingtalent)\
**Post date:** [December 2, 2021, 6:53pm UTC](https://forum.codewithmosh.com/t/terminal-feedback-errors/8938/3 "2021-12-02T18:53:30Z")

</div>

Thanks for the response!

When I type that which I have tried as well, it gives me another odd response:

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings \> Manage App Execution Aliases.

I have python downloaded via website. However when i go to the webstore it does show I do not have python downloaded both are current update files as well.

---

<div class="post-metadata">

**Author:** ![BlackShadow0804](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@BlackShadow0804](https://forum.codewithmosh.com/u/BlackShadow0804)\
**Post date:** [October 19, 2022, 10:56am UTC](https://forum.codewithmosh.com/t/terminal-feedback-errors/8938/5 "2022-10-19T10:56:21Z")

</div>

Hi,  
I am having the same problem. Do u have any fixes?

---

<div class="post-metadata">

**Author:** ![MTownsend](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mtownsend/32/6311_2.png) [@MTownsend](https://forum.codewithmosh.com/u/MTownsend)\
**Post date:** [October 19, 2022, 7:35pm UTC](https://forum.codewithmosh.com/t/terminal-feedback-errors/8938/6 "2022-10-19T19:35:49Z")

</div>

Download from [Python Releases for Windows](https://www.python.org/downloads/windows/).

During the installation you will see a checkbox that says “Include in PATH”. You need to click this in order for command prompt to know about Python.

PATH is a system variable with that contains paths to executable files in your system, as well as other things. When you type commands into the command line then the PATH will be used to search for the command. Since you are typing python, then it will look through the PATH variable to see if it can find python. If it finds it then it will be ran. The `app.py` part is an argument, telling the python command what to run…app.py.

For any of that to work then you must add python to the PATH variable. You can do this manually or with the checkbox that displays during install. I suggest you click the checkbox, but read about PATH variable here [What is PATH Variable?](https://www.maketecheasier.com/what-is-the-windows-path/)
