会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
汪丛兴
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2021年1月19日
常用操作
摘要: 1. 去除list空元素 list(filter(lambda x: x, "a;b;c".split(';')))
阅读全文
posted @ 2021-01-19 17:01 汪丛兴
阅读(48)
评论(0)
推荐(0)
2021年1月13日
系统函数
摘要: https://python3-cookbook.readthedocs.io/zh_CN/latest/c13/p15_luanch_a_web_browser.html
阅读全文
posted @ 2021-01-13 16:08 汪丛兴
阅读(163)
评论(0)
推荐(0)
2021年1月8日
django channel 常见报错
摘要: 背景 项目投产前准备步骤 1.新建虚拟环境 2.安装nginx 配置wsgi 3.启动应用服务器(建议80/443)端口 4.配置web服务器 5.配置域名 django took too long to shut down and was killed 报错 症状: 项目可以正常启动,每次只能处理
阅读全文
posted @ 2021-01-08 09:47 汪丛兴
阅读(1852)
评论(0)
推荐(0)
2021年1月7日
python 文件加解密
摘要: 描述待添加 #pip install pycryptodome == 3.9.9 from Crypto.PublicKey import RSA from Crypto.Random import get_random_bytes from Crypto.Cipher import AES, PK
阅读全文
posted @ 2021-01-07 09:30 汪丛兴
阅读(1159)
评论(0)
推荐(0)
2020年11月17日
解决django 413
摘要: nginx 413 # 设置文件上传的大小 设置settings.py 文件 DATA_UPLOAD_MAX_MEMORY_SIZE = 10*1024*1024
阅读全文
posted @ 2020-11-17 20:04 汪丛兴
阅读(237)
评论(0)
推荐(0)
2020年11月6日
pysnmp 实现网络设备基础信息获取
摘要: https://stackoverflow.com/questions/49137695/how-to-get-the-value-of-oid-in-python-using-pysnmp https://stackoverflow.com/questions/53779585/can-pysnm
阅读全文
posted @ 2020-11-06 08:49 汪丛兴
阅读(467)
评论(0)
推荐(0)
2020年10月9日
djangoSafe
摘要: djangoSafe
阅读全文
posted @ 2020-10-09 10:32 汪丛兴
阅读(109)
评论(0)
推荐(0)
2020年9月16日
JSSDK公众号/企业号 Django 实例
摘要: c
阅读全文
posted @ 2020-09-16 15:50 汪丛兴
阅读(147)
评论(0)
推荐(0)
微信开发常见问题
摘要: 清除缓存 http://debugtbs.qq.com http://debugx5.qq.com mv 新文件名称 旧文件名称 nginx tailf access.log
阅读全文
posted @ 2020-09-16 09:29 汪丛兴
阅读(189)
评论(0)
推荐(0)
2020年9月11日
django 全局日志/以QQ邮箱为例发送系统错误邮件
摘要: 1.注意事项 发送邮件已QQ为例 如何开启QQ邮箱smtp 请参照 https://service.mail.qq.com/cgi-bin/help?subtype=1&no=166&id=28 settings.py 配置如下 # SECURITY WARNING: don't run with
阅读全文
posted @ 2020-09-11 15:49 汪丛兴
阅读(451)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告