Jan-29-2021, 09:27 PM
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).