会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
市丸银
知行合一
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
48
49
50
51
52
53
54
55
56
···
97
下一页
2020年4月14日
pandas 学习
摘要: 一、基础 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 市丸银
阅读(126)
评论(0)
推荐(0)
2020年4月13日
django 定时器
摘要: github网址 https://github.com/kraiz/django-crontab 按照步骤,完全可行(已测试)
阅读全文
posted @ 2020-04-13 17:06 市丸银
阅读(304)
评论(0)
推荐(0)
python 保护隐私
摘要: 保护用户隐私或打码 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 市丸银
阅读(319)
评论(0)
推荐(0)
2020年4月9日
django 模板
摘要: 接收数据 person_lst = [{"name": "wt", "age": 18}, {"name": "er", "age": 20}] 或 person_lst = (("wt", 18), ("er", 20))
阅读全文
posted @ 2020-04-09 22:19 市丸银
阅读(119)
评论(0)
推荐(0)
django 执行原生sql
摘要: https://www.cnblogs.com/413xiaol/p/6504856.html
阅读全文
posted @ 2020-04-09 10:47 市丸银
阅读(129)
评论(0)
推荐(0)
2020年4月8日
有趣的 网页 api
摘要: 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 市丸银
阅读(595)
评论(0)
推荐(0)
django linux端脚本 web 可视化
摘要: 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 市丸银
阅读(308)
评论(0)
推荐(0)
2020年4月7日
django 分页实用
摘要: 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 市丸银
阅读(149)
评论(0)
推荐(0)
2020年4月3日
wxpy
摘要: 测试,尚未开发完成 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 市丸银
阅读(361)
评论(0)
推荐(0)
2020年4月1日
django logger(工作中使用)
摘要: 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 市丸银
阅读(1174)
评论(0)
推荐(0)
上一页
1
···
48
49
50
51
52
53
54
55
56
···
97
下一页
公告