python文本分析

filename = 'alice.txt' try: with open(filename) as f_obj: contents = f_obj.read() except FileNotFoundError as e: msg = "Sorry, the file " + filename + " does not exist." print(msg
相关文章
相关标签/搜索