Source Code
Source Code
NEED OF USER
Download to rea
SOURCE CODE
from sys import exit
if conn. is connected () :
print(
print( -')
print ("1.LOGIN")
print ("2.EXIT")
Download to ree
U
12:31 PM -)) s 101 27
Download to rea
elif choice==2:
Download torea
Download to rea
elif choice=3:
elif choice=4:
print (i)
Download to rea
U
12:31 PM ((-) 25 27
r = cl.fetchall ()
for i in r :
print (i)
Download to rea
elif choice=5:
cl.execute (sql x)
S=cl.fetchall()
for i in s:
print (1)
elif choice==6:
print (i)
elif choice==7:
u= c1.fetchall ()
for i in u:
print (i)
elif choice=8:
Download to rea
U
sql_d='select+ from doctor details where
p name= (")")'.format (d)
c1.execute (sql d)
v=cl.fetchall()
for i in v:
print (i)
elif choice==9:
c1.execute (sql f)
w=cl.fetchall ()
for i in w:
print (i)
elif choice==10:
exit ()
break
else:
exit ()