随笔分类 -  Python中级语法

摘要:一、先贴两段代码:try: f = open(file_name, "rt") file_content = f.read() f.close()except Exception as reason: print("文件%s不存在" % fil... 阅读全文
posted @ 2018-06-21 12:37 defaulttest 阅读(757) 评论(0) 推荐(0)