1、Tkinter import Tkinter top=Tkinter.TK() TK控件:

image.png
2、label使用
!/usr/bin/env python
import Tkinter top=Tkinter.TK() label=Tkinter.Label(top,text='aaaa') label.pack() Tkinter.mainloop() 3、button使用

image.png
4、label和button

image.png
5、label、button、scale

image.png
6、便利文件GUI

image.png

image.png

image.png

image.png

image.png
7、GUI模块:Tkinter、Tix、Pmw、wxPython、PyGTK Tix例子

image.png
pmw例子

image.png
wxPython


image.png
PyGTK

image.png

image.png

image.png
TTK

image.png

image.png


