aki92
aki92

Reputation: 2284

How to open an exe file in Tkinter window

I am trying to open the applications like notepad,photoshop,etc. inside the Tkinter window in Python. I tried using os.sytem() but it opens independently(not inside Tkinter window).

I had searched a lot about this but didn't got any solution. Any kind of help will be appreciated.

Upvotes: 1

Views: 766

Answers (1)

Bryan Oakley
Bryan Oakley

Reputation: 386335

You cannot do what you want. It is impossible to open an external program inside a Tkinter window.

While it is true that it's possible to embed some X11 based apps into an X11 based Tkinter application if the app was designed to be embedded, you will never be able to do this with non-X11 based apps.

Upvotes: 1

Related Questions