def callGoIndex(): try: vait.destroy() import index index.main_scr(user_name) except: print("Cannot go back")
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")
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")
def doSomething(): stdSup.destroy() index.main_scr()