Advertisement
Guest User

Untitled

a guest
Oct 24th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. from Tkinter import *
  2. import os
  3.  
  4. root = Tk()
  5. termf = Frame(root, height=400, width=500)
  6.  
  7. termf.pack(fill=BOTH, expand=YES)
  8. wid = termf.winfo_id()
  9. os.system('xterm -into %d -geometry 40x20 -sb &' % wid)
  10.  
  11. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement