I have installed Python 3.5 in the directory c:\users\rshukla\desktop\python\python35
I have downloaded a simple Python code that I have saved in Atom.io also in the same folder c:\users\rshukla\desktop\python\happy_hour.py
And I am trying to it run through Powershell
import random
bars = ["Shoolbred's",
"The Wren",
"The Scratcher",
"ACME",
"Blind Barber"]
people = ["Mattan",
"Chris",
"Pooje",
"that person you forgot to text back",
"Kanye West",
"Samuel L. Jackson"]
random_bar = random.choice(bars)
random_person_1 = random.choice(people)
random_person_2 = ramndon.choice(people)
print(f"How about you go to {random_bar} with {random_person_1} and {random_person_2}")
When I try running this in Powershell, I get the output below - what am I doing wrong?
PS C:\Users\rshukla\desktop\python> python happy_hour.py
python : The term 'python' 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
+ python happy_hour.py
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException