One, about the introduction of Python
About the introduction of Python, I do not want to say more, online casually search, a lot of introductions, here I mainly write down my self-learning Python process, but also to promote my ability to continue to learn.
Second, Environment construction
1, here I only talk about Windows, because I prefer Linux, but Windows still have to use, so for Linux is not often used (I am not a professional program ape, just a hobbyist), but it is very simple, no matter which platform, no matter
2, download python, https://www.python.org/downloads/windows/Choose what you want, then next, install next (I use 2.7)
3, setting environment variables
(1) in the Command Prompt box (cmd): Enter
%path%; C:
#注意: C:\Python is a Python installation directory, this method is only valid once, close cmd is invalid
(2) My Computer--Properties (right click)--Advanced system settings-environment variables, find path, and then add your Python installation path +: Note semicolon, (here can search online lock, online)
4, verify that the environment variable is set to complete, at the command line (CMD), enter Python, you can enter the Python interface can be
Python Self-study notes (i) Environment construction