如何解决我在变量的特定区域连接时遇到问题在它说 text=shrek + 'USD' 的地方,程序一直说有错误
settingtext = tk.Entry(window2,bg='deepskyblue',fg='blue',font='Consolas 10 bold')
settingtext2 = tk.Entry(window2,font='Consolas 10 bold')
d.create_window(125,400,window=settingtext)
d.create_window(375,window=settingtext2)
def lololol():
d.itemconfig(fiftysix,state=norMAL)
d.itemconfig(line1,state=norMAL)
d.itemconfig(melb,state=HIDDEN)
d.create_window(125,200,window=settingtext)
d.create_window(375,window=settingtext2)
d.itemconfig(text_png,state=HIDDEN)
def Settings_Page():
d.itemconfig(fiftysix,state=HIDDEN)
d.itemconfig(line1,state=HIDDEN)
d.itemconfig(melb,state=norMAL)
d.create_window(125,window=settingtext)
d.create_window(375,window=settingtext2)
d.itemconfig(text_png,state=norMAL)
d.after(5000,lololol)
global zmao
global shrek
zmao = settingtext.get()
shrek = str.replace(zmao,"''","")
zmao2 = settingtext2.get()
def Convert_Stuff():
AUD = 1.36
if zmao == zmao and zmao2 == zmao2:
# over here I intend to add a string in the text part of the comma variable,but it isnt working for whatever reason.
comma = d.create_text(125,450,text=shrek + 'USD',font='Aerial 20',fill='blue')
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。