Professional Documents
Culture Documents
Library Management
Library Management
erSci
encePr
ojectFi
l
e
By:
Rudr
akaul
andAnushChol
kar
XI
I-
A
Boar
d’sRol
lno.
:14647468(Rudr
a)
14647448(
Anush)
Kendr
iyaVi
dyal
ayaDwar
kaSect
or-
12
Li
brar
yManagementSy
stem
KENDRI
YAVI
DYALAYADWARKASECTOR-
12
Submi
tt
edto-Mr
sManpreet
Submi
tt
edby-Rudr
aKaulandAnushChol
kar
CERTI
FICATE
Thi
sist
ocer
ti
fyt
hatRudr
aan
dAn
ushofcl
assXI
I-Aofkendr
iya
Vi
dyal
ayadwar
kasect
or-
12hasdonehi
spr
ojectonLI
BRARY
MANAGEMENTSYSTEM undermysuper
visi
on.
Hehast
aken
i
nter
estandhasshownatmostsi
ncer
it
yincompl
eti
onoft
his
project
.Icert
ifyt
hispr
ojectuptomyex pect
ati
on&asper
guidel
inesissuedbyCBSE, NEW DELHI
.
ACKNOWLEDGEMENT
I
tiswi t
hpl easur ethatI acknowl edgemys inceregr at
it
udet oour
t
ea cher,
Mr s .Ma npr eetwhot a ughta ndunde rtookt her esponsibi
li
ty
oft eachingthes ubj ectComput erScienc e.
I ha vebe engr eatl
ybe nefi
tedf rom he rc l
as ses.
Iam, es peciall
yindebtedt oourPr incipalMr .SalilSaxena
whoha sa lway sbe enas our ceofe nc our ageme nta nd
support
andwithoutwhos einspir
ationt hispr oj
e ctwoul dnotha vebe en
successful Iwoul dl i
ketopl ac eonr ec ordhe artf
e l
tt hankst ohim.
NowI woul dl iketoe xpressmys incerea pprec i
ationf oralltheother
s t
ude ntsformyba tchthe irfri
ends hip
&thef inet i
me stha twea l
l sharedt oge ther.
Har
dwar
eandSof
twar
eRe
qui
reme
n t
s
Descr
ipt
ion
Booksar
eimportantpartofli
fe,whetherwea rest
ude nt
sor
Grownup,
weneverstopslearni
ng.
Alibr
aryisaplacethatcomes
tomindwheneverwea reinmoodt odr i
veint
ot heuniver
seof
knowledge.
Thissimplepythonprojecti
sa nimpleme ntat
ionofas ystemto
ma nageali
brary,i
tsbook s.
Itisi
mpleme ntedbyus i
ngpy t
hon
ProgramminglanguageandMy SQLdatabasetheprogram r
unsi
n
anyc omputerthatsupportspythoninter
preterandMy SQL
Serverinst
all
ati
on
Obj
ect
ivesOfThePr
oject
Her
ear
ethepr
imeobj
ect
ivesoft
hispr
oject
•Useacomput
ert
ohandl
eal
lki
ndsofl
i
brar
y.
•I
mpl
emental
i
brar
ymanagementsof
twar
ewhi
chi
ssmal
lyetpower
ful
.
•UseMy
SQLdat
abasesf
orwor
kingwi
thl
i
brar
ydat
a.
•1.Keepi
ngr
ecor
dsofbook.
•2.Keepi
ngr
ecor
dsofi
ssueandr
etur
nbooks.
•3.Easi
l
ydel
etebooks.
Pr
opos
eds
yst
em
Thepr oposeds ystem will
beac ons olebas ed( CUI: Characteruseri
nterf
ace)
me nudr ivenpy thonprogr amt ha tus esMy SQLda t
a basest ost
orethe
differ
entse tofda tar elat
e dt oalibraryand
ca nruni na l
lcomput ersa ndla pt
ops .We ’
ll i
mple me ntthes yst
em us i
ng
foll
owi ngc ompone nts:
>book .py:i
twi l
lde fi
nethes tructureofabookna me ,
bookc ode,
totalno.of
book s,nameofs ub.
>issue .
py: i
twil
l defi
neswha tinfoi srecor de dwhe nabooki sissuedtoa
me mbe rs ucha sbookc ode ,issueda te,r
e gionalnumbe r,bookreciever
’s
na me .
>submi t
.py:itwil
l defi
neswha tinfoi srecor de dwhe nabooki ssubmi t
ted
by
theme mbe r.
>mai
n.py:
itwi
l
lbet
hest
art
ingpoi
ntofexecut
ionofasof
twar
e
i
mpor tmy sql.c onnec torasa
con=a. c onnec t(hos t='localhost
',
us er
='r
oot'
,passwd='
t
iger
'
,dat
abase='
Li
brar
y1'
)
#func tiont oaddabook
defaddbook (
):
book name=i nput (
'ENTERBOOKNAME: '
)
cd=i nt (
input ('EnterBOOKCODE: ')
)
tbook s=int(input ('
Ent erTOTALBOOKS: '
))
s=input ('
Ent erSubj ectName: '
)
dat a=( book name, c d,t
book s,
s )
a='ins ertintobook sv alues(%s ,
%s ,
%s,%s)'
c=c on. curs or( )
c.ex ec ute(a,dat a)
con. c ommi t()
print('Dat aEnt eredSuc cessful
ly!!
'
)
mai n( )
#SUBMI
TBOOK
#DI
SPLAYBOOK
#DELETEBOOK
BI
BLI
OGRAPHY
•ComputerSci
encewi
thPy
thonby
Preet
iAror
a
•Cl
assNot
es
•Apni
Kaksha
•googl
e