Recently began to play Python, with it to write some small program game auxiliary, now do the summary
Enter the text below.
This article applies to the WIN10 system, Android users. The goal is to have a small partner with no contact with Python to run successfully, and if you happen to be such an object, then follow me and start working. I'm going to write down every step of my own.
0x00: Preparation Tool:
Windows 10;
A An Zuojin machine
Python 3
ADB driver
Depending on the installation package (this is already listed in the source code, the following will be described in detail)
0x01:python Download
Go to the official Python website and download python. In the official dot click Download, select Windows, go to download page, according to your own system download the corresponding Python installer, 32-bit download x86,64 bit download x86-64. :
Download Python to your computer and click Install, in the installation of a step is very important, is to automatically configure the environment variables, it must be checked. :
After this step is checked, you will always point to next until Python finishes the installation, Python finishes installation, opens the CMD console, enters command python, and the following interface appears, which is the installation success. :
0X02:PIP Installation
Pip is similar to the Yum in CentOS, which is very handy for installing Python packages, because running this hop-hop assist will use a lot of dependent packages that are going to be used for PIP downloads, so we first put the PIP in place.
In fact, in the new download Python already has the PIP function, this step seems to be a bit redundant, remember to re-download Pip, since now the latest version of Python can directly use the PIP feature, we can directly enter PIP in the CMD console to see if the following interface display, The PIP feature can be used as shown below.
0X03:ADB driver Installation
ADB driver: https://adb.clockworkmod.com/
It's important to choose an easy-to-remember path when installing, because the ADB driver does not automatically configure environment variables, so the experiment will install ADB in a very easy-to-remember path, taking E:\ADB as an example.
After the installation is completed we do not respond to the CMD console input adb, because we have not configured the ADB environment variables, we can right click on My Computer, select Properties, click Advanced System Settings, in the Advanced click Environment Variables.
After entering the environment variable configuration page, locate the path in the system variable, click on path and click Edit, then copy the path of the ADB just installed, here we take E:\adb as an example, so we will add this path into the environment variable, click Save. This time we open the CMD console again, enter ADB, the following interface appears, that is, the configuration is successful.
Python+pip+adb