【发布时间】:2018-03-11 17:35:24
【问题描述】:
如何在 Tkinter Bold 中制作标签?
这是我的代码
labelPryProt=Label(frame1,text="TEXTTEXT")
labelPryProt.pack(side=LEFT,fill=BOTH,expand=False)
labelPryProt.configure(font=("Helvetica",BOLD, 18))#this is not working not making the text as bold
什么是错误?
【问题讨论】:
-
同样无效
-
NameError: name 'bold' is not defined