摘要: 当大量数据时,尽量用tuple print 80*'-' print sys.getsizeof(objiect) print dir(sys) print help(sys.getsizeof) tuple 的快速写法: test1 = 1, test2 = 1 test3 = 1,2,3 a = 阅读全文
posted @ 2020-06-26 21:35 vivi~ 阅读(139) 评论(0) 推荐(0) 编辑