How to draw Indian Flag Using Turtle Python Program

How to draw Indian Flag Using Turtle Python Program   Source Code: import turtle from turtle import* #for output screen screen = turtle.Screen() # Defining a turtle Instance t = turtle.Turtle() speed(-2) # initially penup() t.penup() t.goto(-400, 250) t.pendown() # Orange Rectangle #white rectangle t.color(“orange”) t.begin_fill() t.forward(800) t.right(90) t.forward(167) t.right(90) t.forward(800) t.end_fill() t.left(90) t.forward(167) #…

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…

|

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…

|

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…

|

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 ================================ “””)…

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…

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 *…

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…

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…