简体   繁体   中英

How to integrate a terminal into a text editor created with python-tk?

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.

refer this:

os.system()

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM