Library Management System Python Project for Class 12

Library Management System Python Project for Class 12 # Python Project Library Management System us MySql Connectivity.    import mysql.connector as sqlctr import sys from datetime import datetime mycon = sqlctr.connect(host=’localhost’, user=’root’, password=’admin’) if mycon.is_connected(): print(‘\n’) print(‘Successfully connected to localhost’) else: print(‘Error while connecting to localhost’) cursor = mycon.cursor() #creating database cursor.execute(“create database if not … Read more

Python MySQL Connectivity Notes Class 12

Looking for Python MySQL Connectivity Notes Class 12 for CBSE (Code 083)? You are in the right place. This page covers everything you need — installing the connector, establishing a connection, creating a cursor, executing SQL queries, and performing all CRUD operations with complete ready-to-run programs and board-exam explanations. 💡 Exam importance: Python–MySQL connectivity appears … Read more

Book Store Management Python Project for Class 12

Book Store Management Python Project for Class 12 #Python Project for class 12 Computer Science, using mySQL connectivity.    Note: If you found something wrong or unable to execute the program kindly mention in comment box provided below the article. Source Code: #https://cbsepython.in import mysql.connector mydb=mysql.connector.connect (host=”localhost”, user=”root”, password=”admin”) #CREATING DATABASE AND TABLE mycursor=mydb.cursor() mycursor.execute(“create … Read more

COVID-19 Data Visualization Python Project Class 12

COVID-19 Data Visualization Python Project Class 12   # Python Project for Class 12 Informatics Practices (065), Python MySQL program containing bar graph, line chart, scatter chart Note: If you found something wrong or unable to execute the program kindly mention in comment box provided below the article.     #cbsepython.in import pandas as pd … Read more

Hospital Management System Python Project Class 12

Hospital Management System Python Project Class 12   Software requirements Operating system : windows 10 Python 3 : for execution of program Mysql : for storing data in the database Python – mysql connector : for database connectivity     ##hospital management software @cbsepython.in ##PRINTING WELCOME NOTE while(True): print(“”” ================================ WELCOME TO MYHOSPITAL ================================ “””) … Read more

ATM Management Python Project for Class 12

ATM Management Python Project for Class 12     #!/usr/bin/python #cbsepython.in import getpass import string import os # creating a lists of users, their PINs and bank statements users = [‘jitendra’, ‘sunny’, ‘vivek’] pins = [‘1111’, ‘2222’, ‘3333’] amounts = [1000, 2000, 3000] count = 0 # while loop checks existance of the enterd username … Read more

Create a CSV file by entering user-id and password, read and search the password for given userid

Create a CSV file by entering user-id and password, read and search the password for given userid # Python Program   import csv with open(“user_info.csv”, “w”) as obj: fileobj = csv.writer(obj) fileobj.writerow([“User Id”, “password”]) while(True): user_id = input(“enter id: “) password = input(“enter password: “) record = [user_id, password] fileobj.writerow(record) x = input(“press Y/y to … Read more

Copywrite © 2020-2026, CBSE Python,
All Rights Reserved