python

Cake Shop Inventory Management in Python

This tutorial will teach you how to make a Cake Shop Inventory Management System in Python step by step. This system will helpful you to learn Inventory Management System. Paste the Code inside the Add Button from tkinter import * from tkinter import ttk def print(): tott = float(totText.get()) top = Toplevel() top.geometry(“300×300″) top.config(bg=”white”) l […]

Cake Shop Inventory Management in Python Read More »

Student Management System Project in Python Mysql

This tutorial will teach you  to make the Student Management System Project step by step. The following  system will use to manage the Student Management. User Login import mysql.connector from tkinter import * from tkinter import messagebox from subprocess import call def Ok(): mysqldb = mysql.connector.connect(host=”localhost”, user=”root”, password=””, database=”studentmanagement”) mycursor = mysqldb.cursor() uname = e1.get()

Student Management System Project in Python Mysql Read More »

Keypress Event using Python

This tutorial will teach you how to use Keypress Event using Python step by step. from tkinter import * from tkinter import messagebox root = Tk() root.geometry(“300×100”) def callback(event): msg = e1.get() messagebox.showinfo(“information”, msg) Label(root, text=”Student Name”).place(x=10, y=10) e1 = Entry(root) e1.place(x=140, y=10) e1.bind(‘<Return>’,callback) root.mainloop() i attached the video link. watch this video this help

Keypress Event using Python Read More »

How to Make a Clickable Images using Python

This tutorial will teach you how to make a Clickable Images using Python. Step 1 Code from tkinter import * from tkinter import messagebox from PIL import Image, ImageTk root = Tk() canvas = Canvas(root, width=600, height=600) canvas.pack() def first(): messagebox.showinfo(‘First’,’You clicked the first image’) def second(): messagebox.showinfo(‘First’,’You clicked the second image’) def third(): messagebox.showinfo(‘First’,’You

How to Make a Clickable Images using Python Read More »