新增英语支持

This commit is contained in:
2022-01-05 22:24:38 +08:00
parent cf7e51595e
commit 3dc099af7e
5 changed files with 124 additions and 4 deletions

View File

@ -1320,7 +1320,7 @@ def __main__():
import random
texts = open('./resources/mySayings.txt','r',encoding='utf-8').readlines()
texts = open('./resources/myWords.txt','r',encoding='utf-8').readlines()
tk.Label(DownFrame,text=texts[random.randint(0,len(texts)-1)].replace('\n','').replace('\\n','\n'),fg='white',bg='black',font=('DengXian Light',20)).pack(fill='x')