# Run the codes from built-in terminal

**URL:** <https://forum.codewithmosh.com/t/run-the-codes-from-built-in-terminal/779>\
**Category:** Python\
**Created:** [November 19, 2020, 11:05pm UTC](https://forum.codewithmosh.com/t/run-the-codes-from-built-in-terminal/779 "2020-11-19T23:05:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amhu](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@amhu](https://forum.codewithmosh.com/u/amhu)\
**Post date:** [November 19, 2020, 11:05pm UTC](https://forum.codewithmosh.com/t/run-the-codes-from-built-in-terminal/779/1 "2020-11-19T23:05:53Z")

</div>

I just start the complete python mastery course. It is pretty amazing! I run into a problem when I follow the class no. 9 “type conversion” of group 2 primitive types. I use the visual studio 3.9 in a window. When I try to use the terminal (by view and choosing the terminal), I can not run the simple code called “app.py” by typing “$python app.py”. it retuns an error says:  
At line:1 char:9

- $python app.py
- 

```
    ~~~~~~

```

Unexpected token ‘app.py’ in expression or statement.  
+ CategoryInfo : ParserError: (🙂 [], ParentContainsErrorRecordException  
+ FullyQualifiedErrorId : UnexpectedToken

what should I do in order to run the codes properly in the built-in terminal?

Thanks!

---

<div class="post-metadata">

**Author:** ![amhu](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@amhu](https://forum.codewithmosh.com/u/amhu)\
**Post date:** [November 19, 2020, 11:11pm UTC](https://forum.codewithmosh.com/t/run-the-codes-from-built-in-terminal/779/2 "2020-11-19T23:11:53Z")

</div>

Sorry, just check the previous topic and find the proper command is  
python app.py

Mosh displays “python app.py" in the class. I though I should add "” before python.

Thanks!
