上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 37 下一页
摘要: 简单的函数封装 def thread_it(func, *args): t = threading.Thread(target=func, args=args) t.setDaemon(True) try: t.start() except Exception as e: raise e def c 阅读全文
posted @ 2020-12-28 14:35 该显示昵称已被使用了 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 区别【apply】【map】【apply_async】【map_async】 【map】各个进程执行顺序确定,当前进程阻塞 【map_async】各个进程执行顺序确定,当前进程不阻塞 【apply】各个进程执行顺序不确定,当前进程阻塞 【apply_async】各个进程执行顺序不确定,当前进程不阻塞 阅读全文
posted @ 2020-12-28 14:04 该显示昵称已被使用了 阅读(2109) 评论(0) 推荐(0) 编辑
摘要: 基本 # 1. 【python字典】转json格式【str】 import json dic = {'a': 1, 'b': 2, 'c': 3} str1 = json.dumps(dic, sort_keys=True, indent=4, separators=(',', ':')) # 有换 阅读全文
posted @ 2020-12-25 11:28 该显示昵称已被使用了 阅读(2060) 评论(0) 推荐(0) 编辑
摘要: post http://cishan.chinanpo.gov.cn/biz/ma/csmh/a/csmhaDoSort.html?aaee0102_03=&field=aaex0131&sort=desc&flag=0 def charity_organization(): """ 慈善中国-慈善 阅读全文
posted @ 2020-12-19 19:05 该显示昵称已被使用了 阅读(131) 评论(0) 推荐(0) 编辑
摘要: https://github.com/myide/django-sso 阅读全文
posted @ 2020-12-18 15:44 该显示昵称已被使用了 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 实时动态图: https://echarts.apache.org/examples/zh/editor.html?c=dynamic-data 阅读全文
posted @ 2020-12-18 15:27 该显示昵称已被使用了 阅读(48) 评论(0) 推荐(0) 编辑
摘要: view.py 中 def reportDetailAEQV(request): # return render(request, "app/reportAEQV.html", {"report": ReportInfo.objects.order_by("-id")}) return render 阅读全文
posted @ 2020-12-16 15:40 该显示昵称已被使用了 阅读(57) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/video/BV1aE411F7KC?p=8 阅读全文
posted @ 2020-12-12 17:39 该显示昵称已被使用了 阅读(65) 评论(0) 推荐(0) 编辑
摘要: list,tuple,str都是有序序列 https://blog.csdn.net/Alice_lanniste/article/details/51606452 阅读全文
posted @ 2020-12-11 09:15 该显示昵称已被使用了 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 指定源 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package pip install -i https://pypi.douban.com/simple django==1.11.4 ubuntu #1. 安装pip 阅读全文
posted @ 2020-12-09 16:32 该显示昵称已被使用了 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 37 下一页