Current Environment: Windows 7 64-bit PS: This blog is based on Windows,linux please detour ~
1. Download the Python installation package website address https://www.python.org/downloads/release/python-364/Select the appropriate installation package, the current highest version of Python 3.X
2. Download the IDE for your own, such as VisualStudio, VS Code, Wingide, Vim, Pycharm, Sublime text, etc. I chose pycharm for a simple reason, Pycharm is a focus on Python ide! (Recommended for beginners)
Pycharm official website http://www.jetbrains.com/pycharm/download/#section =windows, Professional Edition and Community Edition, of course choose Professional Edition Ah don't ask me why!
3. Test your first Python environment
3.1 Open Pycharm,file = New Project Just a name, suggest English
3.2 Right-click on your own project name, New = pythonfile A random name, suggest English
3.3 Then write in your new file as shown in: ...., see this little white may ask the print representative what meaning? Why is it written in "Hello World", first print () is the output function of Python, followed by "Hello World" is a mantra, will make people more handsome!
3.4 After writing, CTRL+SHIFT+F10 will run as shown in the results: ... To this step, then congratulations, the first Python program is complete!
4. This article is only for the small white that just contact Python, Big fairy son please detour ~!
Python Environment Setup