anonymous
  • anonymous
How do I run my python programs in IDLE or cmd prompt? When I try to run using the cmd prompt and type python hello.py it tells me python is not valid command
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
Are you on MAC or PC? I think you use "python hello.py" in MAC Terminal. On the PC command line, just type "hello.py". To run from IDLE, either hit F5 or select "Run Module" from the Run Menu.
anonymous
  • anonymous
It sounds as if python is not installed in your computer. Download it from the official sire python.org. Then try and run IDLE.(Download is available for Windows, Linux, and Mac OS X)

Looking for something else?

Not the answer you are looking for? Search for more explanations.