def Fun(): val=e1.get() if (int(val) ==1): import ReadSub1 ReadSub1.getSub() ReadSub1.getSub1() ReadSub1.fun1() if (int(val) ==2): import ReadSub2 ReadSub2.getSub() ReadSub2.getSub1() ReadSub2.getSub2() ReadSub2.fun1() ReadSub2.fun2() if (int(val) ==3): import Readsub3 Readsub3.getSub() Readsub3.getSub1() Readsub3.getSub2() Readsub3.getSub3() Readsub3.fun1() Readsub3.fun2() Readsub3.fun3() if (int(val)>3):Example().onError() Example().onInfo() mastert.quit()
def Fun(): val = e1.get() if (int(val) == 1): import ReadSub1 ReadSub1.getSub() ReadSub1.getSub1() ReadSub1.fun1() if (int(val) == 2): import ReadSub2 ReadSub2.getSub() ReadSub2.getSub1() ReadSub2.getSub2() ReadSub2.fun1() ReadSub2.fun2() if (int(val) == 3): import Readsub3 Readsub3.getSub() Readsub3.getSub1() Readsub3.getSub2() Readsub3.getSub3() Readsub3.fun1() Readsub3.fun2() Readsub3.fun3() if (int(val) > 3): Example().onError() Example().onInfo() mastert.quit()
def Fun(): val = e1.get() """ For subject 1 it analyziz the value on the text file and anlayziz the patter of thy achiving the marks """ if int(val) == 1: import ReadSub1 ReadSub1.getSub() ReadSub1.getSub1() ReadSub1.fun1() """ For subject 2 it analyziz the value on the text file and anlayziz the patter of thy achiving the marks """ if int(val) == 2: import ReadSub2 ReadSub2.getSub() ReadSub2.getSub1() ReadSub2.getSub2() ReadSub2.fun1() ReadSub2.fun2() """ For subject 3 it analyziz the value on the text file and anlayziz the patter of thy achiving the marks """ if int(val) == 3: import Readsub3 Readsub3.getSub() Readsub3.getSub1() Readsub3.getSub2() Readsub3.getSub3() Readsub3.fun1() Readsub3.fun2() Readsub3.fun3() """ if exceed the number of the subject 3 """ if int(val) > 3: Example().onError() Example().onInfo()
def Fun(): val = e1.get() ''' For subject 1 it analyziz the value on the text file and anlayziz the patter of thy achiving the marks ''' if (int(val) == 1): import ReadSub1 ReadSub1.getSub() ReadSub1.getSub1() ReadSub1.fun1() ''' For subject 2 it analyziz the value on the text file and anlayziz the patter of thy achiving the marks ''' if (int(val) == 2): import ReadSub2 ReadSub2.getSub() ReadSub2.getSub1() ReadSub2.getSub2() ReadSub2.fun1() ReadSub2.fun2() ''' For subject 3 it analyziz the value on the text file and anlayziz the patter of thy achiving the marks ''' if (int(val) == 3): import Readsub3 Readsub3.getSub() Readsub3.getSub1() Readsub3.getSub2() Readsub3.getSub3() Readsub3.fun1() Readsub3.fun2() Readsub3.fun3() ''' if exceed the number of the subject 3 ''' if (int(val) > 3): Example().onError() Example().onInfo()