Esempio n. 1
0
 def callGoIndex():
     try:
         vait.destroy()
         import index
         index.main_scr(user_name)
     except:
         print("Cannot go back")
Esempio n. 2
0
 def loginNow():
     username = E1.get()
     password = E2.get()
     org_uname = "admin"
     org_pwd = "root"
     if (username != '' and password != ''):
         if username == org_uname and password == org_pwd:
             #print("OK")
             admnL.destroy()
             #messagebox.showinfo("Logged In","You are now logged in")
             import index
             index.main_scr(username)
         else:
             L9.config(text="Wrong Username/ Password Combination")
             #print("NOT OK")
     else:
         L9.config(text="Please enter valid values")
Esempio n. 3
0
 def doSomething():
     addWin.destroy()
     index.main_scr()
from imports import *
import index


if __name__ == "__main__":
    index.main_scr()
    

 def doSomething():
     admnL.destroy()
     index.main_scr()
     print("Went Home")
Esempio n. 6
0
 def doSomething():
     stdSup.destroy()
     index.main_scr()