Tushar - Multiple Outlet Shoe Billing System
Tushar - Multiple Outlet Shoe Billing System
Tushar - Multiple Outlet Shoe Billing System
DHAULA KUAN
COMPUTER SCIENCE
PROJECT FILE
SUBMITTED BY:
TUSHAR
12 E
Roll Number: 35
CERTIFICATE
• Program
• Output
• Bibliography
Introduction
This project aims to illustrate the application of DBMS in python using the
MYSQL and MySQL-connector (Python).
if conn.is_connected():
print("")
print("Python connection status with MYSQL Successfully")
print("Welcome to Multiple Outlets Billing System.")
print(“”)
a=True
print("2 LOGIN")
if choice ==1:
try:
cursor.execute(“Insert into user_details(username,password)
values( “{}”,”{}).format(user_name,password_)
conn.commit()
except:
conn.close()
elif choice == 2:
print( “----------------------------------------------------------------------------“)
print(“ shoe billing “)
print( “----------------------------------------------------------------------------“)
print(“ “)
print(" “)
except:
conn.close()
elif choice==2:
data02=cursor.fetchall()
print("Shoe code:", data02[0][0])
print("Brand name:", data02[0][1])
print("Amount paid:",data02[0][5])
elif v_choice == 3:
cursor.execute(sql)
data03= cursor.fetchall()
for i in data03:
print(1)
conn.commit()
else:
pass
else:
if option =="No:
print("Hope you liked the service! Please have a nice day!")
break
else:
pass
else:
print(“Enter a valid choice please!:)
print(“”)
break
Output
Booting the code for the first time :-
Python connection status with MYSQL: Sucessfully
2. LOGIN
1. CREATE ACCOUNT
2. LOGIN
Choices availabler-
1 CREATE ACCOUNT
2. LOGIN
Shoe Billing
2. LOGIN
Shoe Billing
Shoe code: 4
brand name: NIKE
Choices availables-
CREATE ACCOUNT
LOGIN
Shoe Billing