First step: Download the Python installation package first:
Step Two: Install
Double-click the installation package to install the program.
Install here to the C-drive folder named Python33.
Installing .......
Installation Complete
In order to next use the Python command under DOS, configure the environment variable here. Right-click Computer, properties, advanced environment variable, modify the system variable path, add the Python installation address, the author here is C:\Python33;
Test installation:
To install Django:
Download Django
In the download Djando unzip and copy to Python33, then open the command prompt.
First we use the CD command to enter into the Python33 folder, and then use Dir to view the unpacked package that we just copied to Python django-1.8.4.
Then enter the CD into the django-1.8.4, you can see there is a setup.py this is we can enter the command Python setup.py install, perform the installation.
Then, configure the environment variables to add these directories to the system environment variables:
C:/python33/lib/site-packages/django; C:/python33/scripts.
Once added, you can use the Django django-admin.py command to create a new project.
To check if the installation is successful, you can view the Django version under DOS into the Django-1.6.2 directory.
1. Enter Python
2. Enter the import Django
3. Enter Django.get_version ()
Install Python under Windows, install the framework Django.