摘要: import os def count_words_and_lines(file_path): try: word_count = 0 line_count = 0 with open(file_path, 'r', encoding='utf-8') as file: for line in fi 阅读全文
posted @ 2025-04-16 17:17 Thanatos。syts 阅读(12) 评论(0) 推荐(0)