Advertisement
Guest User

python 3.7

a guest
Sep 20th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. from tkinter import *
  2.  
  3. f1 = Tk()
  4. f1.title("name of prog")
  5. f1.geometry("800x480")
  6. f1.resizable(width=False, height=False)
  7. f1.configure()
  8.  
  9. input1 = Entry(f1, fg="#DDD", bg="#111", bd="8", justify="center", width=20, insertbackground="white")
  10. input1.insert(END, "something")
  11. input1.pack()
  12. input2 = Entry(f1, fg="#DDD", bg="#111", bd="8", justify="center", width=20, insertbackground="white")
  13. input2.insert(END, "something else")
  14. input2.pack()
  15.  
  16. f1.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement