Unexpected Token - First Python Program Class

I’ve just watched video for the Python Mastery course. I’ve verified that python is set up but I’m getting this error message. No idea how to fix it.
Python error

Remove the dollar sign ($)and simply run python app.py
Also could you please provide some of your source code for Clear analysis

Thank you That did it

Oh, that’s great, am glad i helped :blush:

I’m getting a similar issue, I’m new to Python and programming in general. I want to make sure that I get things set up as I am in windows and Mosh is using a MAC. I did my best to follow along so I went to file → open folder → created new folder HelloWorld. I then right-clicked on HellowWorld in the pane and created new file and named it app.py. in the window I inputted print(“Hello World!”). Things went side ways when in used $python app.py. Any guidance?
python_complete_mastery_helloworld

remove the $ sign and try

sorry for the late reply, it worked. for my knowledge going forward is there a reason that having the dollar sign didn’t work? from working on linux the $ is used to access different directories. Is there a reason that using it is a problem when using Visual Studio Code?

The dollar sign is not part of the command its just a prompt symbol for unix like systems like macOS and linux that use terminals like bash or zsh. It lets you know your not logged in as a root user and have those associated privileges. Windows uses powershell and CMD which has different syntax and dont use this dollar sign, so you can omit it when typing your commands

That makes sense thanks! Greatly appreciate it good sir! :beer: