Python学习笔记0221(tkinter系列)

1、pack管理器 (1) from tkinter import * root=Tk() listbox=Listbox(root) listbox.pack(fill=BOTH,expand=True) for i in range(10): listbox.insert(END,str(i)) mainloop() (2)横向填充 from tkinter import * root=Tk(
相关文章
相关标签/搜索