Python self-study note (1) Environment Building and python Building
1. Introduction to Python
I don't want to talk much about Python. I just search for Python on the Internet and give a lot of introductions. Here I mainly write down my self-taught Python process to help me continue learning.
2. Environment Construction
1. Here I will only explain Windows, because I prefer Linux, But windows is still required, so it is not often used for linux (I am not a professional programmer, but a hobbyist ), however, this is very simple. No matter which platform, it doesn't matter.
2, download Python, https://www.python.org/downloads/windows/ choose what you want, and then next, next install on the line (I use 2.7)
3. Set Environment Variables
(1) In the command prompt box (cmd ):Input
Path %; C: \ Python
# Note: C: \ Python is the installation directory of Python. This method is only valid once. If cmd is disabled, it becomes invalid.
(2) My Computer -- properties (right-click) -- Advanced System settings -- environment variables, find the Path, and add your Python installation Path +: Pay attention to the semicolon, (You can search for locks on the Internet)
4. Verify that the environment variable settings are complete. On the command line (Cmd), enter Python to enter the Python interface.