Lesson 5 Problem

In this lesson, when I type $python app.py and hit “enter” I get an error code. Using Windows and the latest version of VSC.

At line:1 char:9

  • $python app.py
  •     ~~~~~~
    

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

Can someone tell me why this is happening?

The command is python not $python.