Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if __name__ == '__main__':
- root = tk.Tk()
- frame = tk.Frame(root)
- frame.pack()
- button = tk.Button(frame,
- text="OPEN TELEGRAM",
- fg="red",
- command=open_telegram)
- button.pack(padx=100, pady=40)
- send = tk.Button(frame,
- text="SEND",
- fg="red",
- command=send_messages)
- send.pack(padx=100, pady=10)
- slogan = tk.Button(frame,
- text="STOP",
- command=stop_script)
- slogan.pack(padx=100, pady=50)
- root.mainloop()
Add Comment
Please, Sign In to add comment