from tkinter import *
# 创建主窗口
win = Tk()
win.config(bg='#8DB6CD')
win.title("我很穷!")
win.geometry('400x300')
win.iconbitmap('../image/icon.ico')
txt = "我真的很穷!"
msg = Message(win, text=txt, width=60, font=('微软雅黑', 10, 'bold'))
msg.pack(side=LEFT)
# 开始程序循环
win.mainloop()