Published: 31 Jul 2020 › Updated: 31 Jul 2020
RUNNING PYTHON PROGRAM FROM COMMAND PROMPT
You can see I am executing simple Python code from the command prompt. So how can you do this. For this you have to set path to use python in your command prompt.
If you are on Window, you need to go to This PC. Right click on it and then choose Properties. Then Advanced System Settings. A box will appear. Then Click on Environment Variables then double click on path and then click "New".
You will need to add following two paths.
After adding those two paths then you can come back to Command Prompt, and then type python and carry out any programming task related to python.
Leave RUNNING PYTHON PROGRAM FROM COMMAND PROMPT to:
Read more #python posts
Best Posts From Leo Umesh
We have not curated any of leoumesh's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Leo Umesh
- The Tattoo of My Newborn Baby Girl Forever Inked on My Skin
- Long Weekend Food Feast With Wife
- String Manipulation in C#: Part 2
- String Manipulation in C#
- Introduction to C# and .NET
- Weekend Escape To Falls
- Evening Barbecue With Favourite Beer 🍺 🍻
- NumPy Broadcasting
- Summer BBQ
- Review of "The Day of The Jackal" Series
- Wonders of Wave Rock, Western Australia
- Trying To Make Authentic Chicken Dum Biryani At Home
- Beautiful Ocean Lookout in South West Australia
- Esperance: Hidden Paradise of Western Australia
- Cruising Through Blue Haven Beach
- My First Tattoo
- Exploring Flavoursome Veggie Indian Cuisines
- Australia's Popular Drink: Homemade
- An Everlasting Flowers
- Unexpected Rainbow At Wellington Dam, Western Australia