会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
汪丛兴
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
9
下一页
2022年2月3日
Python中openpyxl处理Excel文件 拆分合并
摘要: 待整理 https://blog.csdn.net/m0_47590417/article/details/119082064
阅读全文
posted @ 2022-02-03 17:31 汪丛兴
阅读(145)
评论(0)
推荐(0)
2022年1月30日
pycharm 提示 Django is not importable in this environment 的解决方法
摘要: 背景 项目是用3.7新建 切换到3.9后通过python manage.py runserver 启动完全ok 但是配置pycharm 提示 Django is not importable in this environment 切换到对应的虚拟环境 怎么配置都会选中3.7 所以导致提示 Djan
阅读全文
posted @ 2022-01-30 15:49 汪丛兴
阅读(2173)
评论(0)
推荐(0)
pyarmor将python项目
摘要: 官网地址: https://pyarmor.readthedocs.io/zh/latest/installation.html 待整理
阅读全文
posted @ 2022-01-30 10:36 汪丛兴
阅读(224)
评论(0)
推荐(0)
2021年12月12日
使用Python复制和粘贴excel中的数据(保持源格式)
摘要: import openpyxl as xl from copy import copy style_attrs = ["alignment", "border", "fill", "font", "number_format", "protection"] def cells(worksheet):
阅读全文
posted @ 2021-12-12 15:52 汪丛兴
阅读(3196)
评论(0)
推荐(0)
2021年11月12日
Django model 错误处理
摘要: https://blog.csdn.net/qq_41475058/article/details/112676908 https://blog.csdn.net/AggressionStorm/article/details/100040669
阅读全文
posted @ 2021-11-12 09:09 汪丛兴
阅读(89)
评论(0)
推荐(0)
2021年11月9日
django 下载文件
摘要: https://cloud.tencent.com/developer/article/1743203 https://cloud.tencent.com/developer/article/1518588
阅读全文
posted @ 2021-11-09 17:59 汪丛兴
阅读(14)
评论(0)
推荐(0)
2021年7月22日
Json文件转换成CSV
摘要: # !/usr/bin/python3 # -*- coding: utf-8 -*- # json 文本文件转化成csv import csv # json数据 import json with open('json.txt', 'r', encoding='UTF-8') as f: rows
阅读全文
posted @ 2021-07-22 11:29 汪丛兴
阅读(1854)
评论(0)
推荐(0)
2021年5月6日
netops源码方式发布步骤
摘要: 待整理
阅读全文
posted @ 2021-05-06 19:51 汪丛兴
阅读(42)
评论(0)
推荐(0)
2021年1月27日
运维命令
摘要: 输出到控制台 nginx cd nginx/logs tail -f access.log liunx/docker 修改镜像源 pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ pip config se
阅读全文
posted @ 2021-01-27 10:10 汪丛兴
阅读(105)
评论(0)
推荐(0)
2021年1月24日
django 项目高性能发布方式-uwsgi
摘要: 项目本身存在大量并发...点击右上角x,不要犹豫直接go重构 如果没有太多的并发,可以考虑通过uwsgi方式提升项目性能,会提升3-5倍 压测工具 mac自带的ab其实就是ApacheBench工具 常用命令 ab -h Usage: ab [options] [http[s]://]hostnam
阅读全文
posted @ 2021-01-24 17:00 汪丛兴
阅读(386)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
公告