πŸ”₯ LIVE πŸ‘©β€πŸ« Teachers: Host Live Tests  |  πŸŽ“ Students: Practice Class-wise Quizzes Go to Quiz Portal βž”

Happy Diwali Python Program using Turtle

Happy Diwali Python Program using Turtle

Send Diwali wishes to your loving ones in cool way. Here we get a cool Happy Diwali Python Program using Turtle module.Β  Happy Diwali Python Program using Turtle   Source Code: import turtle #turtle.Screen turtle.bgcolor(“black”) turtle.up() turtle.color(“red”) turtle.fillcolor(“red”) # Diya turtle.setpos (-150, 100) turtle.down() turtle.right(90) turtle.begin_fill() turtle.circle(150, 180) turtle.left(90) turtle.forward (300) turtle.end_fill() turtle.up() turtle.color(“black”) turtle.back(150) … Read more

Car Race Python Project using pygame

car1

Car Race Python Project using pygame   Source Code: import pygame, sys from pygame.locals import * import random, time #Initialzing pygame.init() #Setting up FPS FPS = 60 FramePerSec = pygame.time.Clock() #Creating colors BLUE = (0, 0, 255) RED = (255, 0, 0) GREEN = (0, 255, 0) BLACK = (0, 0, 0) WHITE = (255, … Read more

Real Time Currency Converter Python Project Class 12

Currency Converter

Real Time Currency Converter Python Project Class 12   Source Code: #Python Project Currency Converter import requests from tkinter import * import tkinter as tk from tkinter import ttk class RealTimeCurrencyConverter(): def __init__(self,url): self.data = requests.get(url).json() self.currencies = self.data[‘rates’] def convert(self, from_currency, to_currency, amount): initial_amount = amount if from_currency != ‘USD’ : amount = amount … Read more

Generate QR Code using Python

How to Generate QR Code using Python?   #pip install pyqrcode #pip install pypng # Import QRCode from pyqrcode import pyqrcode import png from pyqrcode import QRCode # String for which website you want to enerate the QR code website_url = “https://cbsepython.in/” # Generate QR code url = pyqrcode.create(website_url) # Create and save the png … Read more

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) # … Read more

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

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