📌  相关文章
📜  如何在文件python代码示例中查找单词

📅  最后修改于: 2022-03-11 14:45:53.582000             🧑  作者: Mango

代码示例2
f = open(filename,  "r")
   whattoReturn = "None"
   if strToFind in f.read():
      whattoReturn = strToFind