Computer Science Project File
Computer Science Project File
IntroductIon
Python is a widely used general-purpose, high
level programming language. It was created by
Guido van Rossum in 1991 and further developed
by the Python Software Foundation. It was
designed with an emphasis on code readability,
and its syntax allows programmers to express
their concepts in fewer lines of code. Python is a
programming language that lets you work quickly
and integrate systems more efficiently. There are
two major Python versions: Python 2 and Python
3. Both are quite different. Learning Python gives
the programmer a wide variety of career paths to
choose from. Python is an open-source (free)
programming language that is used in web
programming, data science, artificial intelligence,
and many scientific applications. Learning Python
allows the programmer to focus on solving
problems, rather than focusing on syntax. Its
relative size and simplified syntax give it an edge
over languages like Java and C++, yet the
abundance of libraries gives it the power needed
to accomplish great thing.
2. theoretIcal
Background
2.1 What is Database?
4. system
ImPlementatIon
4.1 SOFTWARE SPECIFICATIONS:-
Operating System : Windows 7
Platform : Python IDLE 3.7
Database : MySQL SERVER 5.1
Languages : Python
else:
print('username / password is incorrect')
break
c=input("do you want to try again?(yes or
no)")
else:
print( "THANK YOU!!!! VISIT AGAIN!!!!")
V='no'
elif choice1==3:
print( "THANK YOU!!!! VISIT AGAIN!!!!")
c='no'
break
else:
print("invalid choice")
c=input("do you want to try again?(yes or
no)")
else:
print( "THANK YOU!!!! VISIT AGAIN!!!!")
c='no'
import mysql.connector as sql
conn =
sql.connect(host='localhost',user='root',password='manager',
databa se='EBS')
if conn.is_connected():
print("successfully connected")
c1=conn.cursor()
c1.execute('create table newuser(username VARCHAR(100)
primary key,password VARCHAR(100),confirmpasswd
VARCHAR(100))')
c1.execute('create table AddNewCustomer(accountno int
primary key,bankname VARCHAR(25),bankbranch
VARCHAR(25),name VARCHAR(25),address
VARCHAR(100),areacode INT(6),phoneno INT(15),email
VARCHAR(25),boxid VARCHAR(25))')
c1.execute('create table Transaction(accountno INT(10) ,unit
INT(10),toda VARCHAR(25),totamt INT(10),GST
INT(10),totalamt INT(10),p VARCHAR(25) , foreign
key(accountno) references AddNewCustomer(accountno))')
print("table created")
OUTPUT
6. references
In order to work on this project titled STOCK
MANAGEMENT , the following books and
literature are referred by me during the various
phases of development of the project.
(1) http://www.mysql.org/
(2) http://www.python.org/
(3) Informatics Practices for class XII
-by Sumita Arora & Preeti Arora
Website: https://www.w3resource.com