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
相關文章
相關標籤/搜索