下面这些是笔者在平时工作与学习使用Python进行web开发的过程中总结的一些零碎的知识点:
2020 blogs
Flask整理--主要是《Flask Web开发实战》的笔记
踩过的坑与零碎点
pymysql往数据库中插入datetime类型的"空数据"与MySQL5.7sql_mode的一个问题 *
分割处理存放连续时间字符串的列表 *****
使用optparse模块根据不同的参数创建不同的csv文件 字典映射避免多重判断、csv文件的操作
Docker与Es工作中常用的操作命令 scp命令也很常用
使用Python实现一个简单的LRUCache 空间换时间减小计算开销
configparser模块获取settings.ini文件中的配置数据
sys.modules[__name__]与getattr一起使用的一个实例
tornado批量获取RequestPayload与FormData数据小结
校验密码:长度再8~24之间并且包含大小写字母数字特殊字符中的至少三种
关于跨域与同源策略、安全cookie、CSRF与JWT认证校验看着一片就够了
字典的key为int时经过序列化、反序列化操作后会变成str
关于Python的源文件编译看这一篇就够了* t3.py有项目模块导入的操作
检查接口的传入的变量是否有空值的统一的处理方法 kwargs的使用
tornado的self.write输入字典数据与json的dumps方法的ensure_ascii方法的说明
刨根问底,完美解决Django2版本连接MySQL报错的问题 *** 包含使用pypi安装第三方模块的方法
使用pypi安装Django包并在远程Linux中安装并创建Django项目的过程
json反序列化的时候字符串为单引号的一个坑 包含后端的处理函数(加异常) + 前端序列化与反序列化的方法
Python模块与基础数据类型
Python的datetime与Decimal数据进行json序列化的简单说明
对含有date/datetime以及Decimal格式数据的json数据进行转换
Python杂谈
一个故事带你理解if __name__ == '__main__'
重要操作
利用队列Queue实现一个多并发“线程池”效果的Socket程序
TCP传输时为避免粘包-根据协议传输-构建发送与接收携带信息的字典
Python网络编程相关
线程 —— 基本概念、线程的基础操作(阻塞与延迟的理解)、多线程与多进程的效率差、数据共享问题、线程的其他方法
线程2 —— enumerate方法、守护线程、线程锁、死锁现象(递归锁与互斥锁)、线程队列、进程池与线程池
面向对象相关 *
常见的类的内置方法(双下划线方法)
Python实现数据结构与算法 *
算法数据结构等(旧归结)
web框架系列 *** —— Django/Tornado/Flask
Falsk学习
---------- 旧归结 ------------
flask学习笔记3-CBV实现登陆
flask项目中使用Flask-SQLAlchemy以及利用脚本方式启动flask项目的方法
---------- 新归结 ------------
工具的使用与环境的搭建
windows下GitHub的安装、配置以及项目的上传过程详细介绍
linux下虚拟环境模块virtualenv及管理工具virtualenvwrapper的使用
windows与mac下virtualenv与Pycharm的结合使用
实战案例剖析
Tronado用户增删改查与校验的逻辑 —— 加单测与接口测试
Linux相关
windows与mac下virtualenv与Pycharm的结合使用
linux下虚拟环境模块virtualenv及管理工具virtualenvwrapper的使用
前端相关
一些Python代码
缓存与Redis
异步任务与Celery
好文转载
Pycharm与Goland效率使用经验