Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement