上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 背景 项目是用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 汪丛兴 阅读(1268) 评论(0) 推荐(0) 编辑
摘要: 官网地址: https://pyarmor.readthedocs.io/zh/latest/installation.html 待整理 阅读全文
posted @ 2022-01-30 10:36 汪丛兴 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 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 汪丛兴 阅读(2747) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_41475058/article/details/112676908 https://blog.csdn.net/AggressionStorm/article/details/100040669 阅读全文
posted @ 2021-11-12 09:09 汪丛兴 阅读(77) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1743203 https://cloud.tencent.com/developer/article/1518588 阅读全文
posted @ 2021-11-09 17:59 汪丛兴 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # !/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 汪丛兴 阅读(1806) 评论(0) 推荐(0) 编辑
摘要: 待整理 阅读全文
posted @ 2021-05-06 19:51 汪丛兴 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 输出到控制台 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 汪丛兴 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 项目本身存在大量并发...点击右上角x,不要犹豫直接go重构 如果没有太多的并发,可以考虑通过uwsgi方式提升项目性能,会提升3-5倍 压测工具 mac自带的ab其实就是ApacheBench工具 常用命令 ab -h Usage: ab [options] [http[s]://]hostnam 阅读全文
posted @ 2021-01-24 17:00 汪丛兴 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 1. 去除list空元素 list(filter(lambda x: x, "a;b;c".split(';'))) 阅读全文
posted @ 2021-01-19 17:01 汪丛兴 阅读(44) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页