Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- def check_for_bugs():
- text_into_text("Кнопка работает!!!!!!!!")
- def text_into_text(s):
- text.insert(1.0, s + "\n")
- root = Tk()
- root.title("ПБС")
- root.geometry("1920x1080")
- root.maxsize(560, 750)
- root.minsize(560, 750)
- title = Label(text="Введите ссылку сайта:", font=('Arial', 14, "bold"))
- title.grid(row=1, column=1, pady=25, padx=25)
- field = Entry(font=('Arial', 14, "bold"))
- field.grid(row=1, column=2)
- button = Button(text="Парсинг", font=('Arial', 14, "bold"), command=check_for_bugs)
- button.grid(row=2, column=1, columnspan=2, pady=25)
- text = Text(font=('Arial', 14, "bold"), width=50)
- text.grid(row=3, column=1, columnspan=2, pady=15)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement