您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

14 行
349 B

""" Prints out all possibly-bad words in a wordlist """
import sys
import wordfilter
if __name__ == '__main__':
wfilter = wordfilter.Wordfilter()
for fname in sys.argv[1:]:
with open(fname, 'r') as afile:
for line in afile:
if wfilter.blacklisted(line):
print(fname, line.strip())