# Definitions
def Clear():
user.set('')
passw.set('')
cuser.set('')
cpassw.set('')
def Register():
register = Tk()
register.geometry('700x500')
register.title('Your Pass')
register['bg'] = 'Black'
register.wm_iconbitmap(r'C:\Users\ethan\Dropbox\My PC (DESKTOP-6TT1M3A)\Desktop\Projects\Your Pass\YourPass.ico')
# Create Variables
cuser = StringVar() # Create Username Variable
cpassw = StringVar() # Create Password Variable
# Create Account Function
def Create():
cuser.set('')
cpassw.set('')
# Register Page Contents
cuserEntry = Entry(register, textvariable = cuser).pack(padx = 5, pady = 10)
cpasswEntry = Entry(register, textvariable = cpassw, show='*').pack(padx = 5, pady = 10)
Create = Button(register, text='Create', command = Create).pack(padx = 0, pady=10)
Close = Button(register, text='Close', command = Create).pack(padx = 0, pady=10)
I have tried multiple solutions and none of them seem to work. It is supposed to be a password system and I want to make sure all of the buttons and such are in place before I start with the SQL. So if you could tell me what to change, please do let me know.