Original articles, without permission shall not be reproduced!
I used to do things in the C + + and R languages. Always think C + + is good, good is good, is a lot of chegulu have to build their own. Think of C + + can call Python,python can also call C + +. Then why not learn python. To increase development efficiency
So I decided to start installing Python. Thought, the trend is python2 to python3 migration, so decisive installation python3.
My own notebook environment is the ultimate version of the Win7 64-bit. The installation is python3.5.3. The next nonsense is not to say, directly affixed to my installation and setup process:
1. After entering the Python website, download the version that is suitable for my win7 64 bit
2. After downloading, double-click to start the installation,
Note that the Add Python 3.5 to PATH here means that Python is added to the environment variable so that you can start Python anywhere you want. I set up a folder on D disk called python35, here I chose customize installation, and then to the next step
3.
Tick all, then next
4.
Select the folder that I created in the 2nd step of Python35. Then click Install to start the installation. This process will be twenty or thirty seconds, soon.
5.
6.
Installation is successful! Small happy, originally installed Python so easy. It was a bad idea to install Oracle on Linux all the year.
The next test is whether the installation was successful. After you open your cmd and enter Python, press ENTER.
This will be your congratulations, junior, you have successfully installed.
-------- ---------- -------------
Then you'll start to think about how I'm going to use python since it's already installed.
You need an editor, I choose notepad++, because it's lightweight, but it's very powerful. Write the first Python program in your life in the editor
Print ('Hello,World')
I'd like to cut a picture, probably.
Then I save the file saved as helloworld.py, and the saved path is D:\python35\mycode
Next go back to cmd, we go to D:\python35\mycode, then enter Python helloworld.py, press ENTER, run the result is out. As follows:
This article is first written here, if you want to use other IDE friends, you can refer to the following articles, written in very detailed.
If there are technical problems, my QQ 340217138 welcome the discussion.
Reference: http://www.crifan.com/how_to_do_python_development_under_windows_environment/
Life is short, realize the importance of starting to use Python, python3.5.3 install and use the