python 常用的资料链接

编写高效且优雅的 Python 代码

https://github.com/ecmadao/Coding-Guide

postgres 数据备份与恢复

http://www.open-open.com/lib/view/open1385448336182.html 

pycharm激活码

http://www.cnblogs.com/nulige/p/6034222.html

Django + vue.js 解决跨域问题

https://github.com/ottoyiu/django-cors-headers
安装:
pip install django-cors-headers
CORS_ORIGIN_ALLOW_ALL = True 这个很关键一定要设置为True

middleware 里面添加
'corsheaders.middleware.CorsMiddleware',添加到 'django.middleware.csrf.CsrfViewMiddleware',之前

 OpenCV(开源计算机视觉库)根据BSD许可证发布,因此可以免费学习和商业使用

http://www.cnblogs.com/tornadomeet/category/361466.html

 RSA 加密验证

https://linux.cn/article-7676-1.html

 读取Excel表格

import xlrd

data = xlrd.open_workbook("hunan.xlsx")
table = data.sheets()[0]
nrows = table.nrows  # 行数
ncols = table.ncols  # 列数
print(nrows)
for i in range(2, int(nrows)):
    rowValues = table.row_values(i)
    print(int(rowValues[1]), rowValues[2], rowValues[4]) 

安装模块:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent

 

原文地址:https://www.cnblogs.com/sunkai1993/p/7489022.html