Share a friend's AI tutorial . Zero basis ！ Easy to understand ！ Humor and wit humor ！ And with the yellow lines ！ You can see if it helps you ： Click on the open
Full stack engineer development manual （ author ： Chen Yu ）
python The whole course
A self-made man , Open from the beginning python The construction of development environment .
One ． How to install Python
stay https://www.python.org/ Download installation package .
Download the next exe file , Double click directly to run .
Find... In the environment variable Path Variable , take Python Copy the installation path of , For example, my path is ：
Note that English commas should be used in the process of adding .
Two ． Windows Test the system for successful installation Python
3、 ... and ． Use two versions of Python
Python2.X Good compatibility , But when learning some materials, we need to use Python3.X, So sometimes you need to install two versions of Python. There are three ways , But the premise is that it's all installed Python And set the environment variables .
By renaming the exe File to distinguish execution ： Find... In the installation directory of two versions respectively python.exe and pythonw.exe file , Rename it , Let's name it python2.exe and python3.exe, Enter... At execution time “python2” or “python3” Will enter the corresponding version of the implementation .
When calling, specify the directory ： adopt “/usr/local/python2.7” or “/usr/local/python3.6” Go to a different directory , Re execution Python.
Directly in Pycharm and Eclipse+PyDev etc. IDE Middle switch Python edition .
such as Eclipse+PyDev Middle switch ：
1） Find window —— Preferences ——PyDev——Python Interpreter.
2） Add another version of Python route , And in Libraries Quote new path .
Four ． install Python Of IDE Software Pydev
Many are not used to it Linux Small partners of the system will not be used to Windows Command line , At this point, you can choose a suitable IDE Help people use Python. Let's just share Eclipse+PyDev Method of installation .
（ For computers that cannot be connected to the Internet , You can download it offline pydev, take pydev The two folders of are in eclipse Under the directory folder ）
5、 ... and ． install Python Of IDE Software pycharm
although pydev Inherit in eclipse, Very convenient , But Xiaobian recommends a better python Editor ——pycharm
pycharm Download address ：https://www.7down.com/soft/4338.html
1、 Download and install jdk-8u152-windows-i586,
Download address ：http://www.filehorse.com/download-java-development-kit-32/
pycharm The compiler needs java8u112 The above version is supported , So you need to install it first java Environmental Science . There is no need to change the installation path during installation .
2、 Set up java environment variable , On my computer - attribute - Advanced system setup - senior - environment variable
Add... To the system variable
Variable name ：JAVA_HOME
A variable's value ：;C:\Program Files (x86)\Java\jdk1.8.0_152
Variable name ：CLASSPATH
A variable's value ：;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
Variable name ：Path
A variable's value ：;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
4、 After successful installation , open pycharm, In the file - Set up - project :xxx-Project Interpreter Set your own python.exe, You can switch python Environmental Science .
Then download the patch ,https://pan.baidu.com/s/1mcQM8CLUnweY02ahKEr4PQ .
Put the patch file JetbrainsCrack-release-enc.jar Placed in pycharm Program installation directory \bin Under the table of contents .
stay Pycharm Software installation directory \bin In the directory pycharm.exe.vmoptions and pycharm64.exe.vmoptions Two documents , Right click to open... In text format （ With the aid of Notepad open ）, Add... At the end of the two documents
window add to -javaagent: Disk character :\ Yours pycharm Installation path for \bin\JetbrainsCrack-release-enc.jar linux add to -javaagent:/ Yours pycharm Installation path for /bin/JetbrainsCrack-release-enc.jar
Here we must take your pycharm The installation path is written correctly , Failure is because this step is not done well , And save it .
ubuntu start-up pycharm And fixed to the starter
establish jetbrains-pycharm.desktop file ;
sudo gedit /usr/share/applications/jetbrains-pycharm.desktop
[Desktop Entry] Version=1.0 Type=Application Name=Pycharm Icon=/home/lp/download/pycharm-2018.1.4/bin/pycharm.png Exec="/home/lp/download/pycharm-2018.1.4/bin/pycharm.sh" %f Comment=The Drive to Develop Categories=Development;IDE; Terminal=false StartupWMClass=jetbrains-pycharm
Search for Pycharm, Just fix the starter .