I am a Java program ape, I heard that Python is very powerful, so ready to learn python, although the language is the same, but Java and Python certainly have a difference. I would like to record my learning process here.
Currently, Python is divided into 2.X and 3.X versions. I chose the python2.x version. To quickly learn about Python's web development, the Python Web development Framework I chose is Django. One of the benefits of Django is that it comes with a backend management system.
First step, Download:
Because I use the computer operating system is Windows7 64-bit, so choose to download the Python Windows installation package.
Python installation package: https://www.python.org/downloads/windows/, the latest version of 2.x as of now is the Python 2.7.10.
The next step in the installation is finished.
The second step is to configure the environment variables:
Computer-Right--Properties-Advanced system settings-environment variables, find path in the system variables, followed by the root of the Python installation just now, my installation directory is "D:\Python27", preferably before and after adding ";" No.
The third step is to verify that Python is installed successfully:
Winows key +r, open the Command window, enter cmd into the command line mode, enter Python, if there is no error message, the Python installation and configuration is successful. Python code can be written in the following.
Python Learning (a) Python installation configuration