摘要: ## 读取 ``` # 通过单字符串空格分隔 def count_words(filepath): with open(filepath, 'r') as file: string = file.read() string_list = string.split(" ") return len(st 阅读全文
posted @ 2023-08-24 14:48 高宏宇 阅读(19) 评论(0) 推荐(0) 编辑