# ch2_17.py
from tkinter import *
root = Tk()
root.title("ch2_17")
label=Label(root,text="raised",relief="raised")
label.pack()
root.mainloop()
# ch2_18.py
from tkinter import *
root = Tk()
root.title("ch2_18")
label=Label(root,text="raised",relief="raised",
bg="lightyellow",
padx=5,pady=10)
label.pack()
root.mainloop()
沒有留言:
張貼留言