标签:var root string port div ble import 菜单 int
1 #选项菜单 2 from tkinter import * 3 root = Tk() 4 variable=StringVar() 5 variable.set(‘one‘) 6 w = OptionMenu(root,variable,‘one‘,‘two‘,‘three‘) 7 w.pack() 8 9 mainloop()
标签:var root string port div ble import 菜单 int
原文地址:http://www.cnblogs.com/themost/p/6780744.html