In [1]:
from Tkinter import *
import ttk

In [6]:
def printtext():
    global e
    string = e.get()
    print string

root = Tk()

root.title('Name')

e = Entry(root)
e.pack()
e.focus_set()

b = Button(root,text='okay',command=printtext)
b.pack(side='bottom')
root.mainloop()


Boogers

In [5]:
def getlinks():
    global a
    global b
    global c
    global d
    global e
    global f
    link0 = a.get()
    link1 = b.get()
    link2 = c.get()
    link3 = d.get()
    link4 = e.get()
    link5 = f.get()
    return link0,link1,link2,link3,link4,link5

root = Tk()

root.title('Enter Links For Email, Bro')

a = Entry(root)
a.pack()

b = Entry(root)
b.pack()

c = Entry(root)
c.pack()

d = Entry(root)
d.pack()

e = Entry(root)
e.pack()

f = Entry(root)
f.pack()

button = Button(root,text='Build Email',command=getlinks)
button.pack(side='bottom')
root.mainloop()


1 2 3 4 5 6

In [ ]:


In [ ]: