摘要: 习题 20: 函数和文件 回忆一下函数的要点,然后一边做这节练习,一边注意一下函数和文件是如何在一起协作发挥作用的。 1 from sys import argv 2 3 script, input_file = argv 4 5 def print_all(f): 6 print f.read() 阅读全文
posted @ 2017-08-23 22:21 纟彖氵戋 阅读(230) 评论(0) 推荐(0) 编辑