Tkinter

No description

fork
loading
Files
  • main.py
  • nohup.out
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from tkinter import *
import os



def register():
  reg = Tk()
  passwordEntryReg = Entry(reg)
  passwordEntryReg.pack()
  passwordLabelReg = Label(reg, text='Create Account')
  passwordLabelReg.pack()

  reg.mainloop()


def mainMenu():
  global menu
  menu = Tk()
  menu.mainloop()

def Check(event):
  password = passwordEntry.get()
  os.system('clear')
  if password != 'memes':
    print('error')
  else:
    print('Memes')

def login():
  global passwordEntry
  root = Tk()
  passwordEntry = Entry(root, show='*')
  passwordEntry.pack()

  logButton = Button(root, text='Login')
  logButton.bind('<Button-1>', Check)
  logButton.pack()
  root.mainloop()



root.mainloop()