import tkinter as tk
win = tk.Tk()
win.title("逻辑网")
win.geometry('400x400+200+200')
win.iconbitmap('../image/icon.ico')
p_window1 = tk.PanedWindow(win)
p_window1.pack(fill=tk.BOTH, expand=1)
left1 =tk. Label(p_window1, text='逻辑网', bg='#7CCD7C', width=10,font=('微软雅黑',15))
p_window1.add(left1)
left2 =tk.Label(p_window1, text='网址:www.luoji.com', bg='#9AC0CD', width=10,font=('微软雅黑',15))
p_window1.add(left2)
p_window2 = tk.PanedWindow(orient=tk.VERTICAL,showhandle=True,sashrelief='sunken')
p_window1.add(p_window2)
top_label =tk. Label(p_window2, text='教程', bg='#7171C6', height=8,font=('宋体',15))
p_window2.add(top_label)
bottom_label =tk. Label(p_window2, text='辅导班', bg='#8968CD',font=('宋体',15))
p_window2.add(bottom_label)
win.mainloop()