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

Digital Clock in Python using Tkinter

Digital Clock in Python using Tkinter Source Code: import time from tkinter import * root = Tk() root.title(“Digital Clock”) root.resizable() lbl = Label(root) lbl.grid(row=0, column=0) def display(): time_get = time.strftime(“%Y/%m/%d\n%I:%M:%S %p”) lbl.config(text=time_get, bg=’blue’, fg=’white’, font=(‘Times New Roman’, 50, ‘bold’)) lbl.after(100, display) display() root.mainloop()   Output:

Hospital Management System Using MySQL Connectivity and Tkinter GUI Python Project

Hospital Management System Using MySQL Connectivity and Tkinter GUI Python Project Hospital Management System is a simple project developed in Python. Hospital Management System is a simple GUI based Desktop Application in Tkinter which is user Friendly and very easy to understand. This Project Contains Database.   Source Code: import tkinter.messagebox from tkinter import * … Read more

Alarm Clock Python Project for Class 12

Alarm Clock Python Project for Class 12     Source Code: # https://cbsepython.in/ # Alarm Clock “””Simple Python script to set an alarm for a specific time. When the alarm goes off, a random youtube video will be opened. The possible youtube video URLs are taken from “youtube_alarm_videos.txt” “”” import datetime import os import time … Read more

Love Calculator Python Program

Love Calculator Python Program Source Code: #https://cbsepython.in from string import ascii_lowercase import random import time name1 = input(“Please type Your Name >\n”) name2 = input(“Please type Your Crush Name >\n”) vowels = {‘a’, ‘e’, ‘i’, ‘o’, ‘u’} consonants = set(ascii_lowercase) ^ vowels def count_vowels(name): count = 0 for i in vowels: count += name2.count(i) return … Read more

Simple Text Editor- Python Project for Class 12

Simple Text Editor- Python Project for Class 12   Source Code: #https://cbsepython.in import sys import os import shutil def leave(): sys.exit(“You are exiting from Editor”) def read(): try: file_name = input(“Enter file name: “) target = open(file_name, “r”) readfile = target.read() print(readfile) except Exception as e: print(“There was a problem: %s” % (e)) def delete(): … Read more

Bank Management- Python Project for class 12 MySQL Connectivity

Bank Management- Python Project Class 12   Source Code: #https://cbsepython.in print(“****BANK TRANSACTION****”) #creating database import mysql.connector mydb=mysql.connector.connect (host=”localhost”,user=”root”, passwd=”admin”) mycursor=mydb.cursor() mycursor.execute(“create database if not exists bank”) mycursor.execute(“use bank”) #creating required tables mycursor.execute(“create table if not exists bank_master(acno char(4) primary key,name varchar(30),city char(20),mobileno char(10),balance int(6))”) mycursor.execute(“create table if not exists banktrans(acno char (4),amount int(6),dot date,ttype char(1),foreign … Read more

Rainbow Generator-Python Program for Class 12

Rainbow Generator-Python Program Source Code: import turtle colours=[‘#801ED0′,’#962CE4′,’#912CE2’, ‘#7C21D4′,’#731FCF’, ‘#6113C1′,’#4005AD’,’#2B049F’, ‘#28039E’,’#060390′, ‘#00038E’,’#001C9A’,’#0033A8′, ‘#014AB3′,’#0094DE’ ,’#00C8F9′,’#01E7CD’,’#01CE8B’, ‘#01B750′,’#07B635′ ,’#20BD26′,’#7CE413′,’#9CEE0D’, ‘#DFFC02′,’#F2FB00’, ‘#FEED01′,’#FFAF02′,’#FF9501’, ‘#FE5500′,’#FF2404′ ,’#FE0700’, ‘#FF0100’] wn=turtle.Screen() wn.bgcolor(‘black’) skk=turtle.Turtle() skk.speed(0) skk.width(1.5) skk.hideturtle() skk.left(90) x=0 a=100 b=45 while x<len(colours): skk.color(colours[x]) skk.penup() skk.setpos(b,0) skk.pendown() skk.circle(a,180,4000) skk.right(180) x=x+1 b=b+1.5 a=a+1.5 turtle.mainloop()   Output:    

Simple Calculator- Python Project for Class 11

Simple Calculator- Python Project for Class 11 Source Code: #Creater info print(“cbsepython.in:”) print(” covering all content for the cbse computer science students “) print(” “) print(“These Are the folowing set of Operations you can use :)”) print(“+ for ADDITION, “,”- for SUBSTRACTION, “,” * for MULTIPLICATION, “,”/ for DIVISION, “,”n for Power value”) print(” “) … Read more

Cricket Game- Python Project for CBSE Class 12

Cricket Game- Python Project for CBSE Class 12   Source Code: # Cricket Game print(“”” ~~~~~~~~~~ Game of Cricket ~~~~~~~~~~ Instructions: 1. You have to select any random number from 1 to 6. 2. The computer will also select a number. 3. While batting, if the number selected by you and computer is different, then … Read more

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