We are creating a program that uses two different libraries sequentially: Tkinter and WxPython. Once the script for Tkinter is initialized, the backend library Tcl/Tk prevents the execution of any Wx functions. We want to be able to remove all traces of memory of Tcl/Tk before we launch our script that uses Wx.
We have tried deleting all associated Tkinter references using the sys module, but we have had no success. We have also tried using the multiprocessing module to isolate the frameworks to separate processes, but this was unachievable as a GUI cannot be initialized through a sub-process.
Our goal is to package this into a single standalone application.