摘要: 1 #转换为大写字母 2 from tkinter import * 3 def convertToUpperCase(event): 4 conOfentName.set(conOfentName.get().upper()) 5 6 window = Tk() 7 window.title("学习") 8 conOfentName = StringVar() #定... 阅读全文
posted @ 2018-04-01 18:51 Justice-V 阅读(243) 评论(0) 推荐(0) 编辑