python如何实现模糊查询
- 心理
- 关注:1.32W次
import re f=open(','r'
) text=() e() tofind=raw_input("please input yo want to find:") tofind=pe(tofind) result=all(".*"+tofind+".*",text) for line in result: print line
- 文章版权属于文章作者所有,转载请注明 https://rmnxw.com/zh-hans/lvse/xinli/kwqx6m.html