摘要: 序列化 From https://www.liaoxuefeng.com/ 在程序运行的过程中,所有的变量都是在内存中,比如,定义一个dict: d = dict(name='Bob', age=20, score=88) 可以随时修改变量,比如把name改成'Bill',但是一旦程序结束,变量所占 阅读全文
posted @ 2017-08-13 22:42 学习时光 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 调试 From :https://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/00138683229901532c40b749184441dbd428d2e0f8aa50e000 程序能一次写 阅读全文
posted @ 2017-08-13 16:44 学习时光 阅读(1909) 评论(0) 推荐(0) 编辑
摘要: BaseException +-- SystemExit +-- KeyboardInterrupt +-- GeneratorExit +-- Exception +-- StopIteration +-- StandardError | +-- BufferError | +-- Arithme 阅读全文
posted @ 2017-08-13 14:48 学习时光 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: __str__() __call__() __repr__()方法 __iter__()方法 __getitem__()方法 __getattr__()方法 阅读全文
posted @ 2017-08-13 13:36 学习时光 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 《道德经》——《老子道德经》 老 子: 「道 德 經」: 第 一 章 道 可 道 , 非 常 道 。 名 可 名 , 非 常 名 。 无 名 天 地 之 始 ﹔ 有 名 万 物 之 母 。 故 常 无 , 欲 以 观 其 妙 ﹔ 常 有 , 欲 以 观 其 徼 。 此 两 者 , 同 出 而 异 名 阅读全文
posted @ 2017-08-13 11:45 学习时光 阅读(2646) 评论(0) 推荐(0) 编辑