# coding:utf-8

"""
 @Author : Cong
 @Time : 2021/6/24 14:12
"""
#标签Label
from tkinter import *

root = Tk()
root.title("python GUI v1.0")
root.geometry("400x200+400+300")

inputLabel = Label(root, text='重操旧业', bg='lightblue', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady= 10, fill=X)

inputLabel = Label(root, text='重操旧业', bg='lightyellow', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady= 10, fill=BOTH, expand=True)


root.mainloop()


8e70adadbbe3f2c86925650234231b749e9e867d
<mask token>

<mask token>
root.title('python GUI v1.0')
root.geometry('400x200+400+300')
<mask token>
inputLabel.pack(padx=5, pady=10, fill=X)
<mask token>
inputLabel.pack(padx=5, pady=10, fill=BOTH, expand=True)
root.mainloop()

<mask token>
root = Tk()
root.title('python GUI v1.0')
root.geometry('400x200+400+300')
inputLabel = Label(root, text='重操旧业', bg='lightblue', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady=10, fill=X)
inputLabel = Label(root, text='重操旧业', bg='lightyellow', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady=10, fill=BOTH, expand=True)
root.mainloop()

<mask token>
from tkinter import *
root = Tk()
root.title('python GUI v1.0')
root.geometry('400x200+400+300')
inputLabel = Label(root, text='重操旧业', bg='lightblue', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady=10, fill=X)
inputLabel = Label(root, text='重操旧业', bg='lightyellow', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady=10, fill=BOTH, expand=True)
root.mainloop()

# coding:utf-8

"""
 @Author : Cong
 @Time : 2021/6/24 14:12
"""
#标签Label
from tkinter import *

root = Tk()
root.title("python GUI v1.0")
root.geometry("400x200+400+300")

inputLabel = Label(root, text='重操旧业', bg='lightblue', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady= 10, fill=X)

inputLabel = Label(root, text='重操旧业', bg='lightyellow', font='微软雅黑 12 normal')
inputLabel.pack(padx=5, pady= 10, fill=BOTH, expand=True)


root.mainloop()

