Skip to main content

Posts

Showing posts with the label GUI project

Live IPL Score Using Python || Python Code for Live Cricket Score || IPL Match Detail Program in Python || Live Cricket Score - Creation Code

  Live IPL Score Using Python Hello coders, we are going to learn how we can create a GUI application to build a live score updater using python. We are going to use web scraping using BeautifulSoup class from bs4. We will use the crickbuzz for scraping Module to Be used: tkinter - Preinstalled module request - For requesting the webserver bs4 - It is used for web scraping Installation: pip install request pip install beautifulsoup4 Code: from tkinter import * import requests from bs4 import BeautifulSoup # create instance for window root = Tk () # set title for window root. title (" Indian Premier League ") # screen color configure root. config ( background = " skyblue ") # cricbuzz url to get score updates url = " https://www.cricbuzz.com/ " def get_score ():     # request data from cricbuzz     page = requests. get ( url )     soup = BeautifulSoup ( page . text ,' html.parser ')     # name of first team     team_1 = soup. find_all ( cl

Text to hand writing note using python | Python GUI project

Text to handwriting:-  As a student, I need to write a lot of things. This takes more time than typing. So what will be if we can convert our computer type to handwriting. Well, it will save your time and will be very fun. In this project, we will work on this project and it will really help you. Libraries:- For creating a user interface(UI) we will use python's Tkinter library. To convert text into handwriting we will use   the pywhatkit library. Installation:- Tkinter:- pip install tkinter Pywhatkit:- pip install pywhatkit Code:- import tkinter as tk from tkinter import font import pywhatkit as py from PIL import Image as img # Top level window frame = tk . Tk () frame . title ( "text to handwriting" ) tk . Label ( frame , text = "Enter your sentence" , font = "lucida 20 bold" ). pack () frame . geometry ( '400x200' ) # Function for getting Input # from textbox and printing it # at label widget def prinoutput ():     inp =