0% found this document useful (0 votes)
21 views

Python Mini Project PDF

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Python Mini Project PDF

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Army Institute Of Technology

LIBRARY BOOK
MANAGEMENT
SYSTEM

Submitted By :
Shrivanshu Singh

Under the Guidance of :


(Mrs. Aarti Gangshetty, Assistant
Professor)
Department of Applied Science And
General Engineering
ACKNOWLEDGEMENT

I would like to extend my heartfelt gratitude to all those mentors


who have been beacons of guidance, illuminating my path
throughout this project, culminating in its successful and
satisfactory completion.

My profound appreciation goes to Mrs. Aarti Gangshetty for


entrusting me with this project and providing unwavering
support and resources. I am sincerely grateful for his active
involvement, invaluable time, counsel, wholehearted guidance,
and diligent participation throughout the study, ensuring the
timely completion of the assignment.

Lastly, I wish to express my thanks to all individuals, especially


my friends, who have fostered a conducive and enriching
environment, contributing innovative ideas that significantly
enhanced the project. Without their assistance, completing the
project within the specified timeframe would have been a
daunting task.
INDEX
Acknowledgement
Introduction of the Project
Problem Statement
Requirements of Project
Current Status of the project
Limitations of the Project (If
any)
Bibliography
Code
INTRODUCTION
This program serves as a tool for managing a bookshop with
the aim of enhancing user and management efficiency by
maintaining a comprehensive record of various books. The
functionalities of this program include:

Facilitating easy book searches for issuance or purchase.


Providing access to book prices.
Displaying book availability.
Offering detailed information on specific books.
Allowing users to track daily profits and losses by entering
the issuance and return dates of books.

PROBLEM STATEMENT

Write a program to manage a book shop. Use file


handling to store all data of a book permanently in . .
the memory. Also include features like :-
1. To purchase a book
2. To check the availability of a book
3. To check the details of a book
4. To check profit or loss of any day
5. we can also search any book in the management
system.
REQUIREMENTS
SOFTWARE
REQUIREMENTS:

A) Python: 3.5.2 compiler or greater version.


B) Technology :python programming.

COMPONENTS:

Print out a report and grab a CD for that retro vibe!


Dive into the digital world with a soft copy of the
report and the project folder in full swing!

LIMITATIONS
This project has a few quirks, like not being able to
recognize a book by just typing in the author's name.
Also, it's a no-go to check the profit or loss of all books in
one go, be it monthly or yearly.
Additionally, this program lacks the superpower to
assign a unique ID to each book for easy peasy
searching.
Adding to the mix, nope, you can't check out multiple
books simultaneously from the Management System.
CURRENT STATUS OF
PROJECT
Currently this project can do a lot of things like :-
1. Storing data of any book permanently in the management
system .
2. Any person can easily search any book that he/she wants
to purchase.
3. We can know the complete details of any book through
this program.
4. We can also see the record of a particular book by this
program.
5.
6. Also we can see profit/loss of any book while returning by
entering the date of return.
I am currently working on a function with which admin can
check profit/loss of any book
individually per month and any year.

BIBLIOGRAPHY
1.https://www.tutorialspoint.com/python
2. https://docs.python.org/3/tutorial
3.www.programiz.com/python-programming
4.https://en.wikibooks.org/wiki/A_Beginner's_Python
_Tutorial 5. Quora.com
5. Sthurlow.com sthurlow.com/python/
SOURCE CODE (PYTHON
PROGRAMMING)
from tkinter import *

root=Tk()

def login():

root2=Toplevel(root)

l=Label(root2,text="User name").grid(row=2,column=1,pady=5)

e=Entry(root2,width=15).grid(row=2,column=2)

l1=Label(root2,text="Password").grid(row=3,column=1,pady=5)

e=Entry(root2,show="*",width=15).grid(row=3,column=2,pady=5)

b3=Button(root2,text="Login",command=choice).grid(row=5,column=2,padx=50)

b4=Button(root2,text="New User",command=newuser).grid(row=5,column=3)

def newuser():

root3=Toplevel(root)

l2=Label(root3,text="Name").grid(row=1,column=1,pady=5)

e2=Entry(root3,width=15).grid(row=1,column=2,pady=5)

l5=Label(root3,text="Gender").grid(row=2,column=1,pady=5)

var = IntVar()

r1=Radiobutton(root3,text="Male", variable=var, value=1).grid(row=2,column=2)

r2=Radiobutton(root3,text="Female", variable=var, value=2).grid(row=2,column=3)

l3=Label(root3,text="Mobile No").grid(row=3,column=1,pady=5)

e4=Entry(root3,width=15).grid(row=3,column=2,pady=5)

l4=Label(root3,text="Email Id").grid(row=4,column=1,pady=5)

e5=Entry(root3,width=15).grid(row=4,column=2,pady=5)

b5=Button(root3,text="Submit",command=choice).grid(row=5,column=2,padx=5)
def choice():

root6=Toplevel(root)

b5=Button(root6,text="Submit Book",command=subbook).grid(row=1,column=1,padx=5)

b8=Button(root6,text="Request Book",command=reqbook).grid(row=1,column=3,padx=5) def subbook():

root5=Toplevel(root)

result2Str= StringVar()

result6Str=StringVar()

result2Str.set("In Rs ")

result6Str.set("")

l=Label(root5,text="User name").grid(row=2,column=1,pady=5)

e=Entry(root5,width=15).grid(row=2,column=2)

resultLabel = Label(root5,textvariable=result2Str).grid(row=5,column=2)

resultLabel = Label(root5,textvariable=result6Str).grid(row=7,column=2)

l=Label(root5,text="Book name :").grid(row=3,column=1,pady=5)

def price(self):

s=str(variable.get())

if(s=="c" or s=="c++"):

result2Str.set("In Rs.1000")

elif(s=="Dbms"):

result2Str.set("In Rs.750")

else:

result2Str.set("In rs.500")

variable=StringVar(root5)

variable.set("C")
w=OptionMenu(root5,variable,"Data

structures","Dbms","Python","c++","c",command=price).grid(row=3,column=2)

def sub():

result6Str.set("Submissional Successfull")

b1=Button(root5,text="Submit",command=sub).grid(row=6,column=2,padx=50)

def reqbook():

root6=Toplevel(root)

result3Str=StringVar()

result4Str=StringVar()

result3Str.set("")

result4Str.set("")

l=Label(root6,text="User name").grid(row=2,column=1,pady=5)

e=Entry(root6,width=15).grid(row=2,column=2)

result3Label = Label(root6,textvariable=result3Str).grid(row=4,column=2)

result4Label = Label(root6,textvariable=result4Str).grid(row=7,column=2)

l=Label(root6,text="Book name :").grid(row=3,column=1,pady=5)

def price(self):

s=str(variable.get())

if(s=="c" or s=="c++"):

result3Str.set("In Rs.1000")

elif(s=="Dbms"):

result3Str.set("In Rs.750")

else:
variable=StringVar(root6)

result3Str.set("In rs.500")
w=OptionMenu(root6,variable,"Data structures","Dbms","Python","c++","c",command=price).grid(row=3,column=2)

variable.set("c")

def order():

result4Str.set("Ordered Successfully")

b1=Button(root6,text="Order",command=order).grid(row=5,column=2,padx=50)

b=Button(root,text="Login",command=login).grid(row=0,column=1,pady=20)

b1=Button(root,text="New User",command=newuser).grid(row=0,column=3,padx=50)

b2=Button(root,text="Available Books",command=reqbook).grid(row=0,column=5)

root=mainloop()

You might also like