Integrated Development Environment

PyCharm

Download Link:

https://www.jetbrains.com/pycharm/download/

Installation Link:

http://www.runoob.com/w3cnote/pycharm-windows-install.html

Visual Studio Code

Download Link:

https://code.visualstudio.com

Anaconda

Download Link:

https://www.anaconda.com/products/individual

国内镜像源

阿里云   http://mirrors.aliyun.com/pypi/simple/

豆瓣     http://pypi.doubanio.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

华中科技大学     https://pypi.hustunique.com/

以下安装更新需以管理员身份运行命令窗口

CMD 更新pip

python -m pip install --upgrade pip

更新失败,提示 "Script file 'D:\Anaconda3\Scripts\pip-script.py' is not present.",重新安装pip

easy_install pip

CMD 运行jupyter

conda

jupyter notebook

Anaconda Prompt 安装Plugins模块

pip install -i https://pypi.douban.com/simple/ jupyter_contrib_nbextensions

jupyter contrib nbextension install --user

pip install -i https://pypi.douban.com/simple/ jupyter_nbextensions_configurator

Anaconda Prompt 安装Pdf模块

pip install pdfplumber -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn

pip install PyPDF2 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn

pip install pypiwin32 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn

Anaconda Prompt 安装Word模块

pip install python-docx -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn

修改相关配置文件

vi /usr/local/nginx/conf/nginx.conf

http模块加入 server_tokens   off;

Hide_Nginx_Version_Number_A

vi /usr/local/nginx/conf/fastcgi.conf

fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;

改为

fastcgi_param  SERVER_SOFTWARE    nginx;

Hide_Nginx_Version_Number_B

/usr/local/nginx/sbin/nginx -t

/usr/local/nginx/sbin/nginx -s reload

修改前后对比

Hide_Nginx_Version_Number_C

Hide_Nginx_Version_Number_D