Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- from tkinter import ttk as ttk
- from tkinter import messagebox
- import os
- screen = Tk()
- def run():
- mylabel = Label(screen,text ='Loading')
- mylabel.pack()
- os.system('clean.py')
- os.system('get_attachments.py')
- os.system('rename.py')
- messagebox.showinfo('Info','Process has finished, check the Report file!')
- screen.title("Auto PB report")
- screen.geometry("300x320")
- instruction = Label(text='Click "Run"', fg = 'black',)
- instruction.pack()
- click_me = Button(text = 'Run', fg ='black', bg = 'light gray', command = run)
- click_me.place(x=130, y= 280)
- photo1 = PhotoImage(file ='Logo-Small.png')
- Label (screen,image=photo1, bg='azure').place(x=40,y=50)
- screen.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement