Gossip less, directly on the operation.
Python version is 2.7.6
Can be directly to the official website to download, I also provide a Baidu cloud Https://pan.baidu.com/s/1kWPXG8Z
This is the window version, the Linux version of the self-download to other places.
Development tool I am using pycharm4.5.3, there is currently cracked version, https://pan.baidu.com/s/1pMU9oRh
I have a hack tool here, https://pan.baidu.com/s/1nwRV5g9.
The installation is not introduced here, it is easier to see should be.
Note To set the environment variable, how to set it here does not say.
When using Python to call filetype, I found that I can not import this class, I also see others said to use PIP installation, the results found that PIP also need to install, so download a pip on the official website.
Here I provide pip-9.0.1.tar.gz this version of Baidu Cloud Https://pan.baidu.com/s/1o9TVtMU
After the download is completed, it is not installed, because Python in the installation of PIP also need to setuptools tools, so from the official website and found this package to install, downloaded after decompression found unable to install, because did not provide Windows installation package,
There is no way to continue to check, found that you can run a Python script to download the installation, and then download the relevant script file ez_setup.py, online circulating this script Setuptools version is 33.1.1 seems to have been unable to use,
Open py file modified to version 38.5.1 Yes, modify completed file I also provide a HTTPS://PAN.BAIDU.COM/S/1ETSJLRC
So far there is no need to download additional files, directly execute the Python ez_setup.py installation Setuptools tool,
After installing the tool, go to the PIP directory, execute python setup.py install, note that you need to execute in the PIP directory, or you cannot find the file.
You need to configure the relevant environment variables after you install PIP, otherwise you will be prompted that PIP is not an executable command.
After Pip installs the executable file under the Python directory Scripts, environment variable executes this directory to be possible, my directory executes as D:\tools\Python27\Scripts
After setting the environment variable, reopen the CMD action page, then enter the PIP or PIP list to respond, if not, you need to reset the environment variable
After Pip is installed, you can install Filetyp with Pip and, of course, install additional plugins
Execute pip install filetype, which can be installed filetype
Using import Fietype in Python again will not be an error.
Python installs Pip and uses Pip to install filetype