摘要: 笔记-python-standard library-8.10 copy 1. copy source code:Lib/copy.py python中的赋值语句不复制对象,它创建了对象和目标之间的指向/绑定。 对于可变对象来说,有时需要一个复制体,而非引用,本模块提供了shallow copy和d 阅读全文
posted @ 2018-09-30 14:35 木林森__𣛧 阅读(138) 评论(0) 推荐(0)
摘要: 笔记-python-standard library-8.5.heapq 1. heapq-heap queue algorithm源码:Lib/heapq.pythis module provides an implementation of the heap queue algorithm.he 阅读全文
posted @ 2018-09-30 14:00 木林森__𣛧 阅读(151) 评论(0) 推荐(0)
摘要: 笔记-python-standard library-8.1 data types-datetime 1. Datatimes 本章节内容为日期和时间处理类和方法。 1.1. datetime-basic date and time types source code: Lib/datetime.p 阅读全文
posted @ 2018-09-30 12:40 木林森__𣛧 阅读(168) 评论(0) 推荐(0)