Submit Search
Upload
Project Term2 Computer barun.docx
•
Download as DOCX, PDF
•
1 like
•
104 views
S
SakshamSharma382989
Follow
Project of computer science . python library management system
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 8
Download now
Recommended
Accelerating Local Search with PostgreSQL (KNN-Search)
Accelerating Local Search with PostgreSQL (KNN-Search)
Jonathan Katz
NLP on a Billion Documents: Scalable Machine Learning with Apache Spark
NLP on a Billion Documents: Scalable Machine Learning with Apache Spark
Martin Goodson
Goal Based Data Production with Sim Simeonov
Goal Based Data Production with Sim Simeonov
Databricks
Hadoop - MongoDB Webinar June 2014
Hadoop - MongoDB Webinar June 2014
MongoDB
Pyclustering tutorial - BANG
Pyclustering tutorial - BANG
Andrei Novikov
Norikra in Action (ver. 2014 spring)
Norikra in Action (ver. 2014 spring)
SATOSHI TAGOMORI
Mining Geo-referenced Data: Location-based Services and the Sharing Economy
Mining Geo-referenced Data: Location-based Services and the Sharing Economy
tnoulas
PostgreSQL: Advanced indexing
PostgreSQL: Advanced indexing
Hans-Jürgen Schönig
Recommended
Accelerating Local Search with PostgreSQL (KNN-Search)
Accelerating Local Search with PostgreSQL (KNN-Search)
Jonathan Katz
NLP on a Billion Documents: Scalable Machine Learning with Apache Spark
NLP on a Billion Documents: Scalable Machine Learning with Apache Spark
Martin Goodson
Goal Based Data Production with Sim Simeonov
Goal Based Data Production with Sim Simeonov
Databricks
Hadoop - MongoDB Webinar June 2014
Hadoop - MongoDB Webinar June 2014
MongoDB
Pyclustering tutorial - BANG
Pyclustering tutorial - BANG
Andrei Novikov
Norikra in Action (ver. 2014 spring)
Norikra in Action (ver. 2014 spring)
SATOSHI TAGOMORI
Mining Geo-referenced Data: Location-based Services and the Sharing Economy
Mining Geo-referenced Data: Location-based Services and the Sharing Economy
tnoulas
PostgreSQL: Advanced indexing
PostgreSQL: Advanced indexing
Hans-Jürgen Schönig
Server side geo_tools_in_drupal_pnw_2012
Server side geo_tools_in_drupal_pnw_2012
Mack Hardy
GeoMesa on Apache Spark SQL with Anthony Fox
GeoMesa on Apache Spark SQL with Anthony Fox
Databricks
[DRAFT] Workshop - Technical Introduction to joola.io
[DRAFT] Workshop - Technical Introduction to joola.io
Itay Weinberger
ClickHouse Features for Advanced Users, by Aleksei Milovidov
ClickHouse Features for Advanced Users, by Aleksei Milovidov
Altinity Ltd
Better than you think: Handling JSON data in ClickHouse
Better than you think: Handling JSON data in ClickHouse
Altinity Ltd
Time Series Analysis by JavaScript LL matsuri 2013
Time Series Analysis by JavaScript LL matsuri 2013
Daichi Morifuji
Pymongo for the Clueless
Pymongo for the Clueless
Chee Leong Chow
Dun ddd
Dun ddd
Lyuben Todorov
Unified Data Platform, by Pauline Yeung of Cisco Systems
Unified Data Platform, by Pauline Yeung of Cisco Systems
Altinity Ltd
Big Data otimizado: Arquiteturas eficientes para construção de Pipelines MapR...
Big Data otimizado: Arquiteturas eficientes para construção de Pipelines MapR...
Tail Target
Optimizing Slow Queries with Indexes and Creativity
Optimizing Slow Queries with Indexes and Creativity
MongoDB
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Altinity Ltd
Clojure functions 4
Clojure functions 4
Jackson dos Santos Olveira
On Beyond (PostgreSQL) Data Types
On Beyond (PostgreSQL) Data Types
Jonathan Katz
A Practical Introduction to Handling Log Data in ClickHouse, by Robert Hodges...
A Practical Introduction to Handling Log Data in ClickHouse, by Robert Hodges...
Altinity Ltd
Raw system logs processing with hive
Raw system logs processing with hive
Arpit Patil
Small pieces loosely joined
Small pieces loosely joined
ennui2342
Living in eventually consistent reality
Living in eventually consistent reality
Bartosz Sypytkowski
Building Your First MongoDB Application (Mongo Austin)
Building Your First MongoDB Application (Mongo Austin)
MongoDB
ClickHouse Materialized Views: The Magic Continues
ClickHouse Materialized Views: The Magic Continues
Altinity Ltd
GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0
Tobias Meixner
python.ppt
python.ppt
NikhilSoni177492
More Related Content
What's hot
Server side geo_tools_in_drupal_pnw_2012
Server side geo_tools_in_drupal_pnw_2012
Mack Hardy
GeoMesa on Apache Spark SQL with Anthony Fox
GeoMesa on Apache Spark SQL with Anthony Fox
Databricks
[DRAFT] Workshop - Technical Introduction to joola.io
[DRAFT] Workshop - Technical Introduction to joola.io
Itay Weinberger
ClickHouse Features for Advanced Users, by Aleksei Milovidov
ClickHouse Features for Advanced Users, by Aleksei Milovidov
Altinity Ltd
Better than you think: Handling JSON data in ClickHouse
Better than you think: Handling JSON data in ClickHouse
Altinity Ltd
Time Series Analysis by JavaScript LL matsuri 2013
Time Series Analysis by JavaScript LL matsuri 2013
Daichi Morifuji
Pymongo for the Clueless
Pymongo for the Clueless
Chee Leong Chow
Dun ddd
Dun ddd
Lyuben Todorov
Unified Data Platform, by Pauline Yeung of Cisco Systems
Unified Data Platform, by Pauline Yeung of Cisco Systems
Altinity Ltd
Big Data otimizado: Arquiteturas eficientes para construção de Pipelines MapR...
Big Data otimizado: Arquiteturas eficientes para construção de Pipelines MapR...
Tail Target
Optimizing Slow Queries with Indexes and Creativity
Optimizing Slow Queries with Indexes and Creativity
MongoDB
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Altinity Ltd
Clojure functions 4
Clojure functions 4
Jackson dos Santos Olveira
On Beyond (PostgreSQL) Data Types
On Beyond (PostgreSQL) Data Types
Jonathan Katz
A Practical Introduction to Handling Log Data in ClickHouse, by Robert Hodges...
A Practical Introduction to Handling Log Data in ClickHouse, by Robert Hodges...
Altinity Ltd
Raw system logs processing with hive
Raw system logs processing with hive
Arpit Patil
Small pieces loosely joined
Small pieces loosely joined
ennui2342
Living in eventually consistent reality
Living in eventually consistent reality
Bartosz Sypytkowski
Building Your First MongoDB Application (Mongo Austin)
Building Your First MongoDB Application (Mongo Austin)
MongoDB
ClickHouse Materialized Views: The Magic Continues
ClickHouse Materialized Views: The Magic Continues
Altinity Ltd
What's hot
(20)
Server side geo_tools_in_drupal_pnw_2012
Server side geo_tools_in_drupal_pnw_2012
GeoMesa on Apache Spark SQL with Anthony Fox
GeoMesa on Apache Spark SQL with Anthony Fox
[DRAFT] Workshop - Technical Introduction to joola.io
[DRAFT] Workshop - Technical Introduction to joola.io
ClickHouse Features for Advanced Users, by Aleksei Milovidov
ClickHouse Features for Advanced Users, by Aleksei Milovidov
Better than you think: Handling JSON data in ClickHouse
Better than you think: Handling JSON data in ClickHouse
Time Series Analysis by JavaScript LL matsuri 2013
Time Series Analysis by JavaScript LL matsuri 2013
Pymongo for the Clueless
Pymongo for the Clueless
Dun ddd
Dun ddd
Unified Data Platform, by Pauline Yeung of Cisco Systems
Unified Data Platform, by Pauline Yeung of Cisco Systems
Big Data otimizado: Arquiteturas eficientes para construção de Pipelines MapR...
Big Data otimizado: Arquiteturas eficientes para construção de Pipelines MapR...
Optimizing Slow Queries with Indexes and Creativity
Optimizing Slow Queries with Indexes and Creativity
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Clojure functions 4
Clojure functions 4
On Beyond (PostgreSQL) Data Types
On Beyond (PostgreSQL) Data Types
A Practical Introduction to Handling Log Data in ClickHouse, by Robert Hodges...
A Practical Introduction to Handling Log Data in ClickHouse, by Robert Hodges...
Raw system logs processing with hive
Raw system logs processing with hive
Small pieces loosely joined
Small pieces loosely joined
Living in eventually consistent reality
Living in eventually consistent reality
Building Your First MongoDB Application (Mongo Austin)
Building Your First MongoDB Application (Mongo Austin)
ClickHouse Materialized Views: The Magic Continues
ClickHouse Materialized Views: The Magic Continues
Similar to Project Term2 Computer barun.docx
GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0
Tobias Meixner
python.ppt
python.ppt
NikhilSoni177492
Psycopg2 - Connect to PostgreSQL using Python Script
Psycopg2 - Connect to PostgreSQL using Python Script
Survey Department
Distributed systems
Distributed systems
Sonali Parab
python.ppt
python.ppt
Arun471829
"PostgreSQL and Python" Lightning Talk @EuroPython2014
"PostgreSQL and Python" Lightning Talk @EuroPython2014
Henning Jacobs
Kafka Summit NYC 2017 - Easy, Scalable, Fault-tolerant Stream Processing with...
Kafka Summit NYC 2017 - Easy, Scalable, Fault-tolerant Stream Processing with...
confluent
Programming with Python and PostgreSQL
Programming with Python and PostgreSQL
Peter Eisentraut
PyCon SG x Jublia - Building a simple-to-use Database Management tool
PyCon SG x Jublia - Building a simple-to-use Database Management tool
Crea Very
Writing Domain-Specific Languages for BeepBeep
Writing Domain-Specific Languages for BeepBeep
Sylvain Hallé
dv-210220053508_removed.pdf
dv-210220053508_removed.pdf
SathyaNarayanan47813
C++ manual Report Full
C++ manual Report Full
Thesis Scientist Private Limited
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
Dinesh Neupane
A Tour of Building Web Applications with R Shiny
A Tour of Building Web Applications with R Shiny
Wendy Chen Dubois
Postgresql İndex on Expression
Postgresql İndex on Expression
Mesut Öncel
Postgresql index-expression
Postgresql index-expression
PostgreSQL Kullanıcıları ve Geliştiricileri Derneği
Real-Time Spark: From Interactive Queries to Streaming
Real-Time Spark: From Interactive Queries to Streaming
Databricks
Dynamic C++ Silicon Valley Code Camp 2012
Dynamic C++ Silicon Valley Code Camp 2012
aleks-f
Windowing in Kafka Streams and Flink SQL
Windowing in Kafka Streams and Flink SQL
HostedbyConfluent
A Shiny Example-- R
A Shiny Example-- R
Dr. Volkan OBAN
Similar to Project Term2 Computer barun.docx
(20)
GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0
python.ppt
python.ppt
Psycopg2 - Connect to PostgreSQL using Python Script
Psycopg2 - Connect to PostgreSQL using Python Script
Distributed systems
Distributed systems
python.ppt
python.ppt
"PostgreSQL and Python" Lightning Talk @EuroPython2014
"PostgreSQL and Python" Lightning Talk @EuroPython2014
Kafka Summit NYC 2017 - Easy, Scalable, Fault-tolerant Stream Processing with...
Kafka Summit NYC 2017 - Easy, Scalable, Fault-tolerant Stream Processing with...
Programming with Python and PostgreSQL
Programming with Python and PostgreSQL
PyCon SG x Jublia - Building a simple-to-use Database Management tool
PyCon SG x Jublia - Building a simple-to-use Database Management tool
Writing Domain-Specific Languages for BeepBeep
Writing Domain-Specific Languages for BeepBeep
dv-210220053508_removed.pdf
dv-210220053508_removed.pdf
C++ manual Report Full
C++ manual Report Full
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
A Tour of Building Web Applications with R Shiny
A Tour of Building Web Applications with R Shiny
Postgresql İndex on Expression
Postgresql İndex on Expression
Postgresql index-expression
Postgresql index-expression
Real-Time Spark: From Interactive Queries to Streaming
Real-Time Spark: From Interactive Queries to Streaming
Dynamic C++ Silicon Valley Code Camp 2012
Dynamic C++ Silicon Valley Code Camp 2012
Windowing in Kafka Streams and Flink SQL
Windowing in Kafka Streams and Flink SQL
A Shiny Example-- R
A Shiny Example-- R
Recently uploaded
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Internship report on mechanical engineering
Internship report on mechanical engineering
malavadedarshan25
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
GDSCAESB
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
VICTOR MAESTRE RAMIREZ
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Low Rate Call Girls In Saket, Delhi NCR
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
NikhilNagaraju
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
PoojaBan
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
ssuser7cb4ff
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Dr.Costas Sachpazis
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
Past, Present and Future of Generative AI
Past, Present and Future of Generative AI
abhishek36461
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
RajaP95
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Anamika Sarkar
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
hassan khalil
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
DeelipZope
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Soham Mondal
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
vipinkmenon1
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
RajaP95
Recently uploaded
(20)
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
Internship report on mechanical engineering
Internship report on mechanical engineering
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Past, Present and Future of Generative AI
Past, Present and Future of Generative AI
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
Project Term2 Computer barun.docx
1.
Jawahar NavodayaVidyalaya Rakh Jaganoo
Udhampur , J&K TERM -2 PROJECT WORK COMPUTER SCIENCE (083) SESSION 2021-22 NAME: BARUN ATRI CLASS: 12TH SCIENCE ROLL NO: 27 SUBJECT IN-CHARGE: MS. SHRADHA (PGT-CS)
2.
Python Source Code
For Project Library Management System import mysql.connector as a con=a.connect(host="localhost",user="root",password="library123",dat abase="Library") def addbook(): bn=input("Enter Book Name:") c=input("Enter Book Code:") t=input("Total Books:") s=input("Enter Subject:") data=(bn,c,t,s) sql='insert into books values(%s,%s,%s,%s)' c=con.cursor() c.execute(sql,data) con.commit() print(">---------------------------------------------------<") print("Data Entered Successfully") main() def issuebook():
3.
n=input("Enter Name:") r=input("Enter Reg
No.:") co=input("Enter Book Code:") d=input("Enter Date:") a="insert into issue values(%s,%s,%s,%s)" data=(n,r,co,d) c=con.cursor() c.execute(a,data) con.commit() print(">---------------------------------------------------<") print("Book issued to:",n) bookup(co,-1) def submitbook(): n=input("Enter Name:") r=input("Enter Reg No.:") co=input("Enter Book Code:") d=input("Enter Date:") a="insert into submit values(%s,%s,%s,%s)" data=(n,r,co,d) c=con.cursor() c.execute(a,data)
4.
con.commit() print(">---------------------------------------------------<") print("Book Submitted from:",n) bookup(co,1) def
bookup(co,u): a="Select TOTAL from books where BookCode=%s" data=(co,) c=con.cursor() c.execute(a,data) myresult=c.fetchone() t=myresult[0]+u sql="Update books set TOTAL=%s where BookCode=%s" d=(t,co) c.execute(sql,d) con.commit() main() def deletebook(): ac=input("Enter Book Code:") a="delete from books where BookCode=%s" data=(ac,)
5.
c=con.cursor() c.execute(a,data) con.commit() main() def displaybook(): a="select*from books" c=con.cursor() c.execute(a) myresult=c.fetchall() for
i in myresult: print("Book Name:",i[0]) print("Book Code:",i[1]) print("Total :",i[2]) print("Subject:",i[3]) print(">---------------------------------------------------<") main() def main(): print(""" LIBRARY MANAGER 1.ADD BOOK 2.ISSUE BOOK
6.
3.SUBMIT BOOK 4.DELETE BOOK 5.DISPLAY
BOOK 0.EXIT """) choice=input("Enter Task No : ") print(">---------------------------------------------------<") if(choice=='1'): addbook() elif(choice=='2'): issuebook() elif(choice=='3'): submitbook() elif(choice=='4'): deletebook() elif(choice=='5'): displaybook() elif(choice=='0'): con.close() print("## Bye!! # #") else: print("Wrong choice........")
7.
main() def password(): ps=input("Enter Password:") if
ps== "library123": main() else: print("------- WRONG PASSWORD ---------") password() password() My SQL source code create database Library; use Library; create table Books(BookName varchar(50),BookCode varchar(10),Total int,Subject varchar(50)); create table Issue(Name varchar(50),RegistrationNo varchar(10),BookCode int,Issue varchar(50)); create table Submit(Name varchar(50), RegistrationNo varchar(10),BookCode int, Submit varchar(50));
Download now