- 博客(1)
- 收藏
- 关注
原创 Python编写方法统计文档中总单词数
def count_words(file_name): ''' 方法:统计file_name中总词数 ''' try: with open(file_name,encoding='utf-8') as file_object: message = file_object.read() except FileNotFoundError: print("The file '" + file_name + "' is NOT exis
2021-03-10 20:15:45
490
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人