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.
Asked
Active
Viewed 141 times
0
-
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 Answers
1

Rahul A Ranger
- 496
- 1
- 5
- 13
-
-
we use os.system('terminal command') so for executing a file we use os.system('python file_path') make sure file_path is accurate (use file dialog widget for that) – Rahul A Ranger Sep 28 '20 at 09:27