摘要: 第17条:在参数上面迭代是,要多加小心 def read_visits(data_path): with open(data_path) as f: for line in f: yield int(line) visits = read_visits("./my_numbers.txt") pri 阅读全文
posted @ 2020-05-25 18:20 顽强的allin 阅读(590) 评论(0) 推荐(0) 编辑