会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leo_23
博客园
首页
新随笔
联系
管理
订阅
2020年1月13日
Flask项目下的app下的settings.py配置
摘要: Flask项目下的app下的settings.py配置 #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "leo" __time__ = "2020-01-12" import os BASE_DIR = os.path.dirn
阅读全文
posted @ 2020-01-13 19:41 leo_23
阅读(893)
评论(0)
推荐(0)
2018年6月25日
django excel xlsx 中文编码
摘要: django xlsx中文乱码问题解决: 详情: Python3.x在django中如何设置Content-Disposition,才能让浏览器正确保存中文命名的文件?
阅读全文
posted @ 2018-06-25 20:52 leo_23
阅读(304)
评论(0)
推荐(0)
2018年6月22日
django admin TabularInline raw_id_fields 添加查询 搜索小图标显示
摘要: 问题: 在django app admin TabularInline类使用了下面引用了 raw_id_fields 还是找不到搜索小图标。模型引用的是在别的app的model下。 解决方案: yourapp.adminx.py 下面需要注册对应的模型。
阅读全文
posted @ 2018-06-22 16:34 leo_23
阅读(1285)
评论(0)
推荐(0)
2018年2月16日
m3u8文件解密
摘要: 用ffmpeg吧,下载->(解密)->合并一个命令搞定 https://www.52pojie.cn/thread-588042-1-1.html ffmpeg -allowed_extensions ALL -i filename.m3u8 -c copy -bsf:a aac_adtstoasc
阅读全文
posted @ 2018-02-16 11:21 leo_23
阅读(912)
评论(0)
推荐(0)
2018年2月7日
编译 MacOS 版本的 RedisDesktopMmanager 最新版
摘要: 链接: 编译 MacOS 版本的 RedisDesktopMmanager 最新版 编译 MacOS 版本的 RedisDesktopMmanager 最新版 下载源码📥 git clone --recursive https://github.com/uglide/RedisDesktopMan
阅读全文
posted @ 2018-02-07 19:45 leo_23
阅读(2138)
评论(0)
推荐(0)
2018年1月30日
python3 tensorflow 试玩
摘要: 15 分钟用 ML 破解一个验证码系统 http://python.jobbole.com/89004/ 相关代码: http://t.cn/R8yFJiN 关于验证码识别的参考文章: https://medium.com/@ageitgey/how-to-break-a-captcha-syste
阅读全文
posted @ 2018-01-30 20:45 leo_23
阅读(244)
评论(0)
推荐(0)
python3 tensorflow 安装
摘要: mac python3 安装tensorflow出错:futures requires Python '>=2.6, <3' but the running Python is 3.5.3 对应解决链接: https://github.com/tensorflow/tensorflow/issues
阅读全文
posted @ 2018-01-30 19:54 leo_23
阅读(5792)
评论(0)
推荐(0)
2018年1月21日
Numpy&Pandas 学习
摘要: 建议学习的网站 Numpy&Pandas 网站: https://morvanzhou.github.io/tutorials/data-manipulation/np-pd/
阅读全文
posted @ 2018-01-21 15:24 leo_23
阅读(130)
评论(0)
推荐(0)
2018年1月13日
python3, 解析迅雷地址为原地址
摘要: 解析迅雷地址为原地址,gist地址: https://gist.github.com/leo493852107/b51b8f8cd3af4594a716920f3648d58b #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "leo" __time__ = "2018-01-12" ''' 解析迅雷地址为原地址 th...
阅读全文
posted @ 2018-01-13 17:04 leo_23
阅读(2465)
评论(0)
推荐(0)
2017年12月16日
excel单元格自动填充等于上一单元格内容
摘要: 第一步,左键单击,选中区域: 第二步,按下快捷键“Ctrl+G”,弹出定位框,左键单击“定位条件”: 第三步,弹出“定位条件”对话框,选中“空值”,单击“确定”: 此时空值单元格被锁定: 第四步,让A3单元格=A2单元格,做好公式后“不要按回车键”: 第五步,按下“Ctrl+Enter”键,空白单元
阅读全文
posted @ 2017-12-16 21:09 leo_23
阅读(4081)
评论(0)
推荐(0)
下一页
公告