# Terminal problem

**URL:** <https://forum.codewithmosh.com/t/terminal-problem/463>\
**Category:** Python\
**Created:** [November 3, 2020, 5:02am UTC](https://forum.codewithmosh.com/t/terminal-problem/463 "2020-11-03T05:02:35Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![C0d1ngN00b](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@C0d1ngN00b](https://forum.codewithmosh.com/u/C0d1ngN00b)\
**Post date:** [November 3, 2020, 5:02am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/1 "2020-11-03T05:02:35Z")

</div>

Hello,

Very excited to join this community, it’s my first attempt trying to learn a programming language, and with your help and the courses, I hope to succeed 🙂

I am facing a problem after watching video #5 “Your first Python Program”, in the video, the instructor open the terminal window with Ctrl + ` but once I do open the terminal, there is text in already. I am joining a link to a screenshot so you can see what I mean.

> **[Gyazo](https://gyazo.com/e39570d9f388a915ea8368b2c7425c0c)**

Sorry, this is a very rookie question and my English grammar isn’t perfect yet.

I hope to hear from you guys soon, thank you!

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [November 3, 2020, 5:44am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/2 "2020-11-03T05:44:45Z")

</div>

Hi, welcome to the forum and programming 🙂  
There is nothing to be worry about, the reason that there is already a text in your terminal is because it’s showing the directory your currently in which is the path of your project and you can run your project through this path or one way another ❤

---

<div class="post-metadata">

**Author:** ![C0d1ngN00b](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@C0d1ngN00b](https://forum.codewithmosh.com/u/C0d1ngN00b)\
**Post date:** [November 3, 2020, 5:55am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/3 "2020-11-03T05:55:45Z")

</div>

Thank you!  
I try typing app.py and press enter but then an error message occurs.

> **[Gyazo](https://gyazo.com/030a6a6ef150c4d86216e571f3633e74)**

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [November 3, 2020, 6:01am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/4 "2020-11-03T06:01:26Z")

</div>

See if that helps

 ![Python](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/7321e9b7fad6f7bd906604fef256ca04f07b3e91.png)

---

<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:** [November 3, 2020, 6:13am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/5 "2020-11-03T06:13:55Z")

</div>

@C0d1ngN00b The command is `python app.py`.

---

<div class="post-metadata">

**Author:** ![C0d1ngN00b](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@C0d1ngN00b](https://forum.codewithmosh.com/u/C0d1ngN00b)\
**Post date:** [November 3, 2020, 6:19am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/6 "2020-11-03T06:19:16Z")

</div>

Ohhhh … it works, thank you very much 🤩

---

<div class="post-metadata">

**Author:** ![C0d1ngN00b](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@C0d1ngN00b](https://forum.codewithmosh.com/u/C0d1ngN00b)\
**Post date:** [November 3, 2020, 10:23am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/7 "2020-11-03T10:23:55Z")

</div>

An other question, not worth creating a new thread:

In 1) getting started - lesson 8, formatting python code  
The instructor go on the top tab, and select “Code” (at 3min and 24s), but I do not have the same version of Python and don’t have that option, how can I make it appear?

---

<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:** [November 3, 2020, 5:15pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/8 "2020-11-03T17:15:03Z")

</div>

File/Preferences/Settings or shortcut `Ctrl-,`.

---

<div class="post-metadata">

**Author:** ![Kenichi](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@Kenichi](https://forum.codewithmosh.com/u/Kenichi)\
**Post date:** [November 30, 2020, 9:37pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/9 "2020-11-30T21:37:25Z")

</div>

Hello A100D-JS!  
I am new to Python. I am having similar issues with C0d1ngN00b and please see snapshot below.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/3921a8ef5483d3cff509f1c35bc647dc8e924053.png)

I cannot seem to return values(Hello world) in terminal screen. Python is installed but please note that it was installed few weeks ago when I was using PyCharm  
(I do not think it has any impact with this but just in case).  
Any suggestion/recommendation is greatly appreciated. Have a great day!

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [December 1, 2020, 12:58am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/10 "2020-12-01T00:58:33Z")

</div>

> [@Terminal problem](https://forum.codewithmosh.com/t/terminal-problem/463/5):
>
> @C0d1ngN00b The command is python app.py.

---

<div class="post-metadata">

**Author:** ![Kenichi](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@Kenichi](https://forum.codewithmosh.com/u/Kenichi)\
**Post date:** [December 1, 2020, 5:00am UTC](https://forum.codewithmosh.com/t/terminal-problem/463/11 "2020-12-01T05:00:33Z")

</div>

Thank you for your reply A100D-JS. I greatly appreciated. I did type the command below in Terminal but nothing happens. Any additional suggestion/recommendation is greatly appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [December 1, 2020, 10:23pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/12 "2020-12-01T22:23:24Z")

</div>

Is there any specific error or something ?

---

<div class="post-metadata">

**Author:** ![Kenichi](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@Kenichi](https://forum.codewithmosh.com/u/Kenichi)\
**Post date:** [December 1, 2020, 10:49pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/13 "2020-12-01T22:49:39Z")

</div>

A100D-JS,  
First of all, thank you for helping me out. I greatly appreciate it.  
NO I am not getting any error message.

- I am still not getting any values in terminal when I type print (“Hello World”) app.py
- I did type Python in Command Prompt and version 3.9.0 is installed.

Thank you again.

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [December 1, 2020, 11:02pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/14 "2020-12-01T23:02:26Z")

</div>

Is it possible that you may be in the wrong directory or path ?

---

<div class="post-metadata">

**Author:** ![Kenichi](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@Kenichi](https://forum.codewithmosh.com/u/Kenichi)\
**Post date:** [December 2, 2020, 6:10pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/15 "2020-12-02T18:10:55Z")

</div>

Hi A100D-JS. I did check the path and is correct. Should I create a new path? I did that but it’s still returning me with directory from original snapshot but with different directory in terminal every me I type print (“Hello world”). Thank you again for your assistance and patience.

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [December 2, 2020, 9:09pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/16 "2020-12-02T21:09:11Z")

</div>

I don’t know, sorry.  
I can’t help you unless there is an error or something to work on and i didn’t see mosh’s python course.

---

<div class="post-metadata">

**Author:** ![Kenichi](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@Kenichi](https://forum.codewithmosh.com/u/Kenichi)\
**Post date:** [December 2, 2020, 9:23pm UTC](https://forum.codewithmosh.com/t/terminal-problem/463/17 "2020-12-02T21:23:08Z")

</div>

No worries. I am thinking about reinstalling completely. Again, thank you for your help. I really appreciate it.
