Update task3.py

main
p6fxi93qh 2 months ago
parent 9b0894c748
commit d4c64867d4

@ -34,7 +34,7 @@ if __name__ == '__main__':
txtpath = r'd:\学习\软件工程\swork\res\select_ai.txt'
imgpath = r'd:\学习\软件工程\swork\tu4.png'
savepath = r'd:\学习\软件工程\swork\cloud_ai.png'
stopword = ['', '', '', '视频', '', '', '', '哈哈哈', '', '', '', ''] # 设置不想显示的词
stopword = ['', '', '', '视频', '', '', '', '哈哈哈', '', '', '', '','福州大学'] # 不想显示的词
try:
with open(txtpath, 'r', encoding='utf-8') as file:
txt = file.read()

Loading…
Cancel
Save