# Couldn't work in terminal window

**URL:** <https://forum.codewithmosh.com/t/couldnt-work-in-terminal-window/15653>\
**Category:** Python\
**Created:** [October 5, 2022, 9:14am UTC](https://forum.codewithmosh.com/t/couldnt-work-in-terminal-window/15653 "2022-10-05T09:14:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bily071](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@bily071](https://forum.codewithmosh.com/u/bily071)\
**Post date:** [October 5, 2022, 9:14am UTC](https://forum.codewithmosh.com/t/couldnt-work-in-terminal-window/15653/1 "2022-10-05T09:14:05Z")

</div>

hi,  
opened terminal window but I could not work in it. Any suggestion what is wrong and what to do

 ![Screenshot 2022-10-05 110851](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/c/c0acf43dc4d0bb5e630e3adf25b3eb4a9e98e320.png)

---

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [October 5, 2022, 1:11pm UTC](https://forum.codewithmosh.com/t/couldnt-work-in-terminal-window/15653/2 "2022-10-05T13:11:02Z")

</div>

The terminal opened in a .vscode directory but your app.py file is not in that directory. You need to change directory up one level and then run “python app.py”

Compare the path it printed out in the error to the actual path to your file (shown at the top of VSCode).

---

<div class="post-metadata">

**Author:** ![shubham30june](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@shubham30june](https://forum.codewithmosh.com/u/shubham30june)\
**Post date:** [October 6, 2022, 6:32am UTC](https://forum.codewithmosh.com/t/couldnt-work-in-terminal-window/15653/3 "2022-10-06T06:32:00Z")

</div>

(post deleted by author)
