04 2020 档案

摘要:https://www.cnblogs.com/ 这个链接足矣 阅读全文
posted @ 2020-04-28 11:05 市丸银 阅读(172) 评论(0) 推荐(0) 编辑
摘要:https://tool.lu/ 为了开心 阅读全文
posted @ 2020-04-26 17:41 市丸银 阅读(109) 评论(0) 推荐(0) 编辑
摘要:git stash git pull git stash pop 解决git 冲突的方法, 遇到的情况,在服务器上修改代码没有提交到远程分支, 在本地修改代码后,提交远程分支, 在服务器上pull报错 阅读全文
posted @ 2020-04-24 10:28 市丸银 阅读(163) 评论(0) 推荐(0) 编辑
摘要:1、DateFrame索引与切片 https://www.cnblogs.com/carlber/p/9917370.html 阅读全文
posted @ 2020-04-17 11:59 市丸银 阅读(86) 评论(0) 推荐(0) 编辑
摘要:1、参考文章 http://liyangliang.me/posts/2015/06/using-supervisor/ 按照这个参考完全够用 2、官网 http://supervisord.org/ 3、补充 运行挂起 nohup python解释器的决对路径 运行的决定路径 & 阅读全文
posted @ 2020-04-16 16:25 市丸银 阅读(358) 评论(0) 推荐(0) 编辑
摘要:一、基础 https://zhuanlan.zhihu.com/p/76905282 1、读取 2、查看 - head 3、形状 - shape 4、查看索引 index 5、查看列的全部名称 columns 6、排序 https://blog.csdn.net/MsSpark/article/de 阅读全文
posted @ 2020-04-14 11:56 市丸银 阅读(115) 评论(0) 推荐(0) 编辑
摘要:github网址 https://github.com/kraiz/django-crontab 按照步骤,完全可行(已测试) 阅读全文
posted @ 2020-04-13 17:06 市丸银 阅读(284) 评论(0) 推荐(0) 编辑
摘要:保护用户隐私或打码 def mark_star(name: str, ratio=0.6): l = len(name) star_len = int(l * ratio) remain_len = l - star_len print(remain_len) if remain_len % 2 = 阅读全文
posted @ 2020-04-13 17:05 市丸银 阅读(313) 评论(0) 推荐(0) 编辑
摘要:接收数据 person_lst = [{"name": "wt", "age": 18}, {"name": "er", "age": 20}] 或 person_lst = (("wt", 18), ("er", 20)) 阅读全文
posted @ 2020-04-09 22:19 市丸银 阅读(113) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/413xiaol/p/6504856.html 阅读全文
posted @ 2020-04-09 10:47 市丸银 阅读(110) 评论(0) 推荐(0) 编辑
摘要:1、彩虹屁 https://chp.shadiao.app/ 2、情话 https://api.lovelive.tools/api/SweetNothings/:count/Serialization/:serializationType 3、git地址 https://github.com/MZ 阅读全文
posted @ 2020-04-08 17:14 市丸银 阅读(571) 评论(0) 推荐(0) 编辑
摘要:1、安装 Django # 大于2.0,小于2.1.5 dwebsocket paramiko 2、视图 from dwebsocket.decorators import accept_websocket import paramiko @accept_websocket def show_log 阅读全文
posted @ 2020-04-08 15:51 市丸银 阅读(296) 评论(0) 推荐(0) 编辑
摘要:1、分页器 class Pagination(object): def __init__(self, page_num, total_count, url_prefix, per_page=10, max_page=11): """ :param page_num: 当前页码数 :param tot 阅读全文
posted @ 2020-04-07 17:27 市丸银 阅读(144) 评论(0) 推荐(0) 编辑
摘要:测试,尚未开发完成 from __future__ import unicode_literals from threading import Timer from wxpy import * import requests from lxml import etree # 登录微信 bot = B 阅读全文
posted @ 2020-04-03 17:22 市丸银 阅读(357) 评论(0) 推荐(0) 编辑
摘要:1、setting.py 注意:创建log文件夹 # 存放Log的目录 LOGGING_DIR = os.path.join(BASE_DIR, 'log') LOGGING = { 'version': 1, 'disable_existing_loggers': True, 'formatter 阅读全文
posted @ 2020-04-01 10:13 市丸银 阅读(1161) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示