-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
75 lines (52 loc) · 2.13 KB
/
Copy pathmain.py
File metadata and controls
75 lines (52 loc) · 2.13 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#main
import teachercat
import parentcat
print("PYTHON PROGRAM FOR PROJECT SYNOPSIS FOR TOPIC: UBI FEE COLLECTION SYSTEM")
print("========================================================================") #TITLES
print(" Union Bank of India")
print(" -------------------")
print(" Kendriya Vidyalaya Sangathan")
print(" ----------------------------")
an='y'
while an=='y':
print("Login as\n1.Teacher\n2.Parent")
print("3.exit")
ask=int(input("\nEnter the choice(1,3) here:"))
if ask==1:
print("\n UNION FEES IMFORMATION")
print(" ======================")
dic={}
ubi=0
username=input("\nEnter your username:") #LOGGING IN
password=input("Enter your password here:")
if len(password)>3:
any='y'
while any=='y':
teachercat.menu(username)
tech=int(input("\nEnter choice(1-4):"))
if tech==1:
stu=teachercat.creating_uqi(any,dic)
teachercat.studentinfo(stu)
if tech==2:
teachercat.removestu(any,stu)
teachercat.studentinfo(stu)
if tech==3:
teachercat.paymentinfo(stu)
print("the data has being stored in csv file........")
if tech==4:
print("\n\t\t\tTHANK YOU")
any='n'
if tech>4:
print('\n\t\t\tWRONG CHOICE')
else:
print("\n\t\t\t\tINVALID PASSWORD")
break
if ask==2:
parentcat.feepayment(stu)
teachercat.studentinfo(stu)
teachercat.paymentinfo(stu)
if ask==3:
print('\n\t\t\tTHANK YOU')
an='n'
else:
print("\n\n\t\t\t\tRETRY WRONG CHOICE")