####Python Downlaod:
https://www.python.org/downloads/windows/
Python 2.7.14 - 2017-09-16
Windows x86-64 MSI installer(64 bit)
####Python Env:
http://www.cnblogs.com/qiyeshublog/archive/2012/01/24/2329162.html
PATH=PATH;c:\python26
PATHEXT=PATHEXT;.PY;.PYM
##test in cmd
python
####Eclipse download
http://www.eclipse.org/downloads/eclipse-packages/
Eclipse IDE for Java Developers
####Java SE JDK Download (to run eclipse
http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html
####Java env
JAVA_HOME,值为:C:\Program Files\Java\jdk1.7.0(填写你的JDK路径即可)。
CLASSPATH,值为:;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
Path, add值为:C:\Program Files\Java\jdk-9.0.1\bin
##test in cmd
java
javac
####Install Python Plug-in in Eclipse
http://www.pydev.org/manual_101_install.html
http://www.pydev.org/manual_101_interpreter.html
...
####Know how
-Encoding error
https://www.python.org/dev/peps/pep-0263/
-Install Pipenv before importing requests
在WIN8下使用Python2.7 64bit。在pyhton/scripts文件下,pip.exe pip2.exe是存在的,在CMD命令行下,pip --version 无法参看版本号,这是因为没有配置环境变量的原因。将pip.exe所在的目录配置到环境变量就OK了。然后安装pipenv
pip install --user pipenv
(https://pip.pypa.io/en/stable/installing/)
(D:\Python\code\get-pip.py)
-Import Requests module
Requests is an elegant and simple HTTP library for Python, built for human beings.
pip install requests
网友评论