# Problem with VSCODE and PYTHON to run basic program

**URL:** <https://forum.codewithmosh.com/t/problem-with-vscode-and-python-to-run-basic-program/4102>\
**Category:** Python\
**Created:** [April 13, 2021, 2:23pm UTC](https://forum.codewithmosh.com/t/problem-with-vscode-and-python-to-run-basic-program/4102 "2021-04-13T14:23:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcardenas71](https://avatars.discourse-cdn.com/v4/letter/g/9d8465/32.png) [@gcardenas71](https://forum.codewithmosh.com/u/gcardenas71)\
**Post date:** [April 13, 2021, 2:23pm UTC](https://forum.codewithmosh.com/t/problem-with-vscode-and-python-to-run-basic-program/4102/1 "2021-04-13T14:23:59Z")

</div>

Hi. I am taking the python for developers course. I am working in Windows 10 professional. I downloaded python 3.9.4 and VSCODE. I got stuck in the 3rd module (Code editors), because when I run the command “HelloWorld $python app.py”, I get the error message below. I tried reinstalling python and even adding the python extension in vscode, and no difference.

 ![vscodePythonError](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/c/cd450761f79ed516edd45f8c9bdc5cf245aaf8e9.jpeg)

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [April 13, 2021, 2:33pm UTC](https://forum.codewithmosh.com/t/problem-with-vscode-and-python-to-run-basic-program/4102/2 "2021-04-13T14:33:34Z")

</div>

The command is `python app.py` . “HelloWorld” and “$” are part of the prompt.

---

<div class="post-metadata">

**Author:** ![gcardenas71](https://avatars.discourse-cdn.com/v4/letter/g/9d8465/32.png) [@gcardenas71](https://forum.codewithmosh.com/u/gcardenas71)\
**Post date:** [April 13, 2021, 2:36pm UTC](https://forum.codewithmosh.com/t/problem-with-vscode-and-python-to-run-basic-program/4102/3 "2021-04-13T14:36:31Z")

</div>

OMG!. That was it! thank you so much.
