Python Forum
Button in GUI linked to new python script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button in GUI linked to new python script
#4
Import will not work if the imported script is meant to launch another GUI application. Two tkinter applications must be two separate applications. You cannot call Tk() twice in the same application and you cannot call mainloop() twice in the same application. At least you can't without a lot of caution (somehow IDLE makes it work).
Reply


Messages In This Thread
RE: Button in GUI linked to new python script - by deanhystad - Jan-29-2021, 09:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Kivy] Two Linked Kivy Windows? Exsul1 0 1,359 Mar-04-2020, 07:32 PM
Last Post: Exsul1
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 5,141 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp
  how to execute .py script when button is clicked D_frucht 1 6,272 Jun-22-2018, 04:23 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020