https://raw.githubusercontent.com/liftoff/GateOne/master/terminal/terminal.py
https://github.com/liftoff/GateOne/tree/master/terminal

https://xon.sh/tutorial.html
https://docs.python.org/3/library/cmd.html

https://stackoverflow.com/questions/7253448/how-to-embed-a-terminal-in-a-tkinter-application
from Tkinter import *
import os

root = Tk()
termf = Frame(root, height=400, width=500)

termf.pack(fill=BOTH, expand=YES)
wid = termf.winfo_id()
os.system('xterm -into %d -geometry 40x20 -sb &' % wid)

root.mainloop()
