九八云Python教程:python关闭文件的两种方法1、使用try-finally块 reader = open('dog_breeds.txt') try: # Further file pr...赞(0)Xmebiz2024-07-14行业资讯 阅读(13)