I am half way through my Python 3 course. There are two practice projects that I should be able to do. But that requires installing and getting started with Python on my Windows 7 - 64 bit OS.
I have installed Python 3.7 through Python website ‘https://www.python.org/downloads/’. But am having no luck beyond that.
I read that typing Py in my command prompt would let me know if the installation was successful.
1. I opened my command prompt by typing cmd in start menu and hitting enter.
Its file path is c:\windows\system32\cmd.exe - py
**2.**Typed Py and enter.
The message appeared, which according to the installation files meant that it has been successful.
3. I also have Python exe file stored at c:\user\user2\app.data…\python37-32\python.exe
I made a shortcut of this exe file on desktop and when I run it it executes print codes just like cmd window.
But other than that i am having trouble editing or executing functions etc. I am not able to access files or folders using cd, ls commands.
Question 1 - Which window (cmd or python exe) should I use. What’s the difference between the two other than file path?
**Question 2-**Would they run python programs from the text or code editor. That is i write the code in editor and open file in prompt windows to run it?
**Question 3-**Do I really need these prompt windows for my code. the user interface is depressing and having used codecademy interface I was hoping to set up a UI on similar lines.
Question 4- I read that I need an editor to write my codes and pip to install packages. Will an editor also interpret my code or would I need to install interpreter separately?
Question 5- If cmd and python.exe are the way to go, how do I access the files and folder as every time I try and execute cd - error msg shows up.
I hope your reply will help me understand computer language interpretation better.
When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!
If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer!