0

I took help from this website https://www.geeksforgeeks.org/make-notepad-using-tkinter/ and used the code to create a full-fledged text editor which was like the windows Notepad. Now, I want to integrate a terminal into it so that it can run the programs there itself.

dev Asur
  • 44
  • 7
  • The `-container` option to a frame sets it up to contain another window (that's Tk, not python tkinter). Reparenting or embedding another window is different on every system. You'll have to specify which OS you are using. – Brad Lanam Sep 28 '20 at 17:18
  • Windows 10 please – dev Asur Sep 29 '20 at 01:50
  • There is this information: https://wiki.tcl-lang.org/page/Reparenting+native+applications+on+Windows , but you'll need to work out how to translate the information there into tkinter. – Brad Lanam Sep 29 '20 at 02:47

1 Answers1

1

refer this:

os.system()

make sure to check the path of the file that you want to run

Rahul A Ranger
  • 496
  • 1
  • 5
  • 13