I'm new to python and would like to know if there is a possible way to integrate another console application into python GUI like Tkinter or any other libraries. eg. Entry(pathToFile\win.exe).pack() or Label(pathToFile\win.exe).pack()
I found ways to open the file using os modules. For eg. os.startfile(" path to file/win.exe)
But they open the application in separate window. I'm looking for a wat to have the console of the win application attached to the python GUI in one of the grid locations.
Please let me know if there is a way for this problem or a dead end.
tkinterbut some stuff likextermand vlc (I think) have options to put their respective windows inside atk.Frameusing a command line argument. For example forxteemthere is a-intoargument and you can pass in the result fromwinfo_id()like thissubprocess.run()orsubprocess.popen()and it allows to catch text from other aplication (stdout,stdin) and you may display it intkinter.Text. And I think someone created moduletkconsolewhich probobaly may use this method.