002 检索英文文档中的冒犯语(Python)

思路: 读取文本 -> 检查文本 -> 判断输出 Python 内置函数文档 urllib 的文档 import urllib def read_text(): quotes = open("/Users/gloriazhang/Documents/movie_quotes.txt") contents_of_file = quotes.read() print(conte
相关文章
相关标签/搜索