Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #GUI
- def start():
- os.startfile("run.vbs")
- def skip():
- os.startfile("skip.lnk")
- start = Button( #Первая кнопка которая должна быть нажата один раз и после этого стать некликабельной
- text="Launch",
- padx="14",
- pady="7",
- background="#16597E",
- foreground="#ffffff",
- activebackground="#ffffff",
- activeforeground="#16597E",
- font="Tahoma 12 bold",
- command=start)
- start.place(
- relx=.5,
- rely=.08,
- anchor="c",
- height=30,
- width=150,
- bordermode=OUTSIDE)
- skip = Button( #Вторая кнопка которая возвращает первую в исходное состояние
- text="Skip",
- padx="14",
- pady="7",
- background="#16597E",
- foreground="#ffffff",
- activebackground="#ffffff",
- activeforeground="#16597E",
- font="Tahoma 12 bold",
- command=skip)
- skip.place(
- relx=.5,
- rely=.56,
- anchor="c",
- height=30,
- width=150,
- bordermode=OUTSIDE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement