Python basics help

fellows,

i am an absolute beginner with Py.

am facing few errors while running the command.

PS C:\Users\Rajiv\Dropbox\Python\Hello World> app1.py
app1.py : The term ‘app1.py’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1

  • app1.py
  •   + CategoryInfo          : ObjectNotFound: (app1.py:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    

Suggestion [3,General]: The command app1.py was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.\app1.py”. See “get-help about_Command_Precedence” for more details.
PS C:\Users\Rajiv\Dropbox\Python\Hello World>

please help

Hello Rajiv,

Do you get a different result if you add python before your filename?

So in the terminal you write:

python app1.py

Viktor… thank you so much for your prompt resposne…

yes it worked on the terminal with python app.py

thanks a ton,

1 Like