Home python Fish inventory system using python tkinter

Fish inventory system using python tkinter

2 min read

This tutorial will teach you  to make a small Fish shop Inventory  system using python. The following  system will use to manage the Fish shop.

import tkinter as tk

OptionList = [

def Ok():
    item = variable.get()
    result = float(e1.get())

    if item == "kg":
        tot = result * 120
    else :
        tot = result/1000 * 120

root = tk.Tk()
root.title("Inventory System")

variable = tk.StringVar(root)

opt = tk.OptionMenu(root, variable, *OptionList)
opt.config(width=10, font=('Helvetica', 12))
global e1
global nsalText
nsalText = tk.StringVar()
labelTest = tk.Label(text="", font=('Helvetica', 12), fg='red')

tk.Label(root, text="Fish").place(x=10, y=10)

tk.Label(root, text="Qty").place(x=10, y=40)

tk.Label(root, text="Total:").place(x=10, y=150)
tk.Label(root, text="", font=('Helvetica', 12), fg='red' , textvariable=nsalText).place(x=100, y=150)
tk.Button(root, text="Cal", command=Ok ,height = 1, width = 3).place(x=100, y=110)

e1 = tk.Entry(root)
e1.place(x=100, y=40)


i have attached the video link below. which will do this tutorials step by step.





  • Python Introduction

    Python is a world best programming language.in this tutorials we cover about the fundament…
  • ATM Pin No Validation using Python

    this is tutorial will explains how to do the ATM Pin No Validation using Python step by st…
  • Chicken Shop Inventory using Python

    The Inventory Management System is developed using Python. The project is built to manage …
Load More Related Articles
Load More By admin
Load More In python

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Mastering Object-Oriented Programming Project in Java

In this tutorial, I will teach Java programming projects along with Object-Oriented Progra…