python数据源sqlite3
“`python import sqlite3 conn = sqlite3.connect(“t… 继续阅读 python数据源sqlite3
“`python import sqlite3 conn = sqlite3.connect(“t… 继续阅读 python数据源sqlite3
# -*- coding: utf-8 -*- #pip install Flask-BasicAu… 继续阅读 Flask-BasicAuth模块
函数 说明 os.system(command) 返回状态码,执行结果输出到屏幕 os.popen(… 继续阅读 python执行命令subprocess
#https://flask-restful.readthedocs.io/en/latest/qu… 继续阅读 flask_restful模块提供api接口
import urllib.request; #载入urllib.request,用于获取页面htm… 继续阅读 爬虫jd
DenyHosts分析sshd的日志文件/var/log/secure 当发现重复的攻击时就会记录I… 继续阅读 DenyHosts ssh防暴破工具
sudo apt-get install libsasl2-dev python-dev libld… 继续阅读 python-ldap fatal error: lber.h: No such file or directory
sudo apt-get install libsasl2-dev python-dev libld… 继续阅读 Modules/constants.h:7:18: error: lber.h: No such file or directory
Could not find a version that satisfies the requir… 继续阅读 Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: ) No matching distribution found for Twisted>=13.1.0 (from Scrapy)
安装 yum groupinstall -y “Development tools” yum ins… 继续阅读 uwsgi安装
在wordpress创建一张表imgBak: img imgBak md5 vchar255 vch… 继续阅读 备份wordpress图片到七牛云
获取资源列表 #安装七牛sdk pip install qiniu #初始化sdk.py from … 继续阅读 删除七牛CDN中wordpress未调用的对象
转换报错: UnicodeEncodeError: ‘ascii’ codec can’t enco… 继续阅读 UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 2624-2625: ordinal not in range(128)
nbconvert failed: xelatex not found on PATH, if yo… 继续阅读 jupyter导出pdf 500 : Internal Server Error
yum install sqlite-devel -y pip install pysqlite
ImportError: No module named MySQLdb [root@server … 继续阅读 ImportError: No module named MySQLdb
从2.7.5升级到2.7.15 wget https://www.python.org/ftp/py… 继续阅读 CentOS7升级Python-2.7.15
有三种常用方式: ①永久设置: vim /etc/profile: export http_prox… 继续阅读 pip使用代理
https://files.pythonhosted.org/packages/a6/5b/f399… 继续阅读 paramiko安装
from flask_migrate import Migrate ImportError: No … 继续阅读 ImportError: No module named flask_migrate