随笔分类 -  33-python

摘要:<! +++ title = "Python语法: global变量的调用、改写与nonlocal关键字" description = "1. 方式改写全局变量; 2. 载入全局变量; 3. 命名空间; 4. 关键字" date = "2021 12 21" tags = [] categories 阅读全文
posted @ 2020-06-17 14:19 brt2 阅读(304) 评论(0) 推荐(0)
摘要:<! +++ title = "【转载】图解NumPy" description = "1. 读写文件; 2. 内建向量/矩阵; 3. 切片操作; 4. 聚合函数; 5. 矩阵的转置和重构; 6. 常用操作API; 7. 应用实例; 8. 附录" date = "2021 12 21" tags = 阅读全文
posted @ 2020-06-11 15:27 brt2 阅读(314) 评论(1) 推荐(1)
摘要:<! +++ title = "Python惯用法" description = "1. 不要使用可变类型作为参数的默认值" date = "2021 12 21" tags = [] categories = ["3 syntax","33 python"] series = [] keyword 阅读全文
posted @ 2020-05-28 17:13 brt2 阅读(163) 评论(0) 推荐(0)
摘要:<! +++ title = "mail邮件操作" description = "1. 概念; 2. python::smtplib" date = "2022 01 03" tags = [] categories = ["3 syntax","33 python","3rd modules"] 阅读全文
posted @ 2020-05-28 17:09 brt2 阅读(301) 评论(0) 推荐(0)
摘要:<! +++ title = "Python多线程 threading" description = "1. GIL; 2. API; 3. 创建子线程; 4. 线程同步; 5. 定时器; 6. 线程安全; 7. 线程池:ThreadPoolExecutor" date = "2021 12 21" 阅读全文
posted @ 2020-05-26 20:30 brt2 阅读(294) 评论(0) 推荐(0)
摘要:<! +++ title = "Python常用模块" description = "1. Exception类; 2. 内置函数; 3. File; 4. platform; 5. shutil; 6. os; 7. os.path; 8. pathlib; 9. time; 10. dateti 阅读全文
posted @ 2020-05-26 19:49 brt2 阅读(211) 评论(0) 推荐(0)
摘要:<! +++ title = "Python字符串处理 str/bytes" description = "1. str; 2. bytes / bytearray; 3. printf style String Formatting" date = "2021 12 21" tags = ["us 阅读全文
posted @ 2020-05-26 19:06 brt2 阅读(414) 评论(0) 推荐(0)
摘要:<! +++ title = "Python正则式 re" description = "1. 相关概念; 2. 模式Pattern; 3. API; 4. 其他" date = "2021 12 21" tags = ["usual"] categories = ["3 syntax","33 p 阅读全文
posted @ 2020-05-26 17:42 brt2 阅读(201) 评论(0) 推荐(0)
摘要:<! +++ title = "Python数据结构" description = "1. list; 2. tuple; 3. set; 4. dict; 5. Queue; 6. array; 7. enum; 8. collections" date = "2021 12 21" tags = 阅读全文
posted @ 2020-05-26 17:28 brt2 阅读(147) 评论(0) 推荐(0)