We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
SER DESCRIPTION
01 | INTRODUCTION
02 | OBJECTIVES OF THE PROJECT
03 | SOURCE CODE
04 | OUTPUT
05 | TESTING
06 | CONCLUSION
07 | BIBLIOGRAPHYPROJECT ON FITNESS CENTRE
INTRODUCTION
This project is on fitness centre. In today’s world people don't
Want to make an register. They can make record all data in computer this
software will help them in different way.
OBJECTIVES OF THE PROJECT
This software is specially used to maintain any fitness centre where they can
maintain records of any jim,
Today one cannot afford to rely on the fallible human beings of be really wants to
stand against today’s merciless competition where not to wise saying “to err is human”
no longer valid, it's outdated to rationalize your mistake. So, to keep pace with time, to
bring about the best result without malfunctioning and greater efficiency so to replace
the unending heaps of flies with a much sophisticated hard disk of the computer.
One has to use the data management software. Software has been an ascent in
atomization various organisations. Many software products working are now in markets,
which have helped in making the organizations work easier and efficiently. Data
management initially had to maintain a lot of ledgers and a lot of paper work has to be
done but now software product on this organization has made their work faster and
easier. Now only this software has to be loaded on the computer and work can be done.
This prevents a lot of time and money. The work becomes fully automated and
any information regarding the organization can be obtained by clicking the button.
Moreover, now it's an age of computers of and automating such an organization gives
the better look.SOURCE CODE
import mysql.connector as sql
fit=sql.connect (host='localhost', user="root', passwd='admin', data
base='fit_project')
if fit.is_connected():
print( ‘connected’ )
print('')
print('')
print('WELCOME TO RAHI FITNESS CENTRE')
print('')
print('')
print('TO LOGIN PRESS 21
y
print('')
print('')
print('TO CREATE YOUR NEW ACCOUNT PRESS 12
')
print('')
print('')
print('TO EXIT PRESS 13
')
print('')
c=int(input('enter your choice'))
if (c
print('')
print('to login please enter your user id and password’)
print('')
user_id=input('enter your user id')
print('')
passwd=input('enter your password!)print('')
name=input('enter your name")
print('')
cl=fit.cursor()
cl.execute('select * from user_fitness_rahii')
data=c1. fetchall()
count=c1.rowcount
for row in data:
if (user_id in row) and (passwd in row):
print(' ')
print('SUCCESSFULLY LOGIN 1")
print('welcome to ',name,' fitness centre')
print(' ')
print(' ')
print('to see castumer details press
print(* *)
print(' to update costumer details press
print(' ')
print('to see items in jim press
print('')
print('to update new items press
print('')
c2=int(input('enter your choice'))
if (c2==1):
c:
‘it.cursor()
cl.execute('select * from custmer')
data=c1.fetchall()
count:
print('total custamer is", count)
for row in data:
1. rowcount
print (row)elif (¢2==2):
print('')
print('to update costumer details please enter
the following details’)
print('')
v_cusamer_id=int(input('inter castamar id (in
intiger) 2")
print('')
v_custamar_name=input('castamer name is
print('')
v_camtamar_addras=input('enter addras of
castamer')
print('')
v_date_of_joined=input('camtamer joined data')
print('')
v_amt_paid=int (input (*paid amuount'))
print('')
ci=fit.cursor()
#c1.execute('create table custmer(custmer
varchar(100) primary key, custmer_name
varchar (10), custmer_address varchar (1900), joined_date
varchar(100),amt_paid varchar(100))')
update_dtails="insert into custmer values("+
str(v_cusamer_id) +",'"+ (v_custamar_name) +", '"+
(v_camtamar_addras) +" '+ (v_date_of_joined) +"',"+
str(v_amt_paid) +")"hi
c1.execute(update_dtails)
Fit.commit()
print('costumer details succesully updated")
elif (c2
print('FOLLOWING ITEMS RECTHERE IN',name
,'JIM')
c1=fit .cursor()
cl.execute('select * from jim_items')
data=c1.fetchall()
count=c1.rowcountprint('total jim item is', count)
for row in data:
print (row)
print('to update new items enter the
following detils')
v_object_id=int(input('enter the object
code(in integer)'))
v_object_name=input(‘enter the name of jit
items')
v_date_of_purchase=input(‘enter the date og
purchase’ )
v_repairing_date=input('enter the date of
repair')
v_total_people_using=int (input( ‘total
person'))
c1=fit..cursor()
updates2=("insert into jim_items values('"+
str(v_object_id) +"','"+ (v_object_name) +"",'"%+
(v_date_of_purchase) +"','"+ (v_repairing date) +"
str(v_total_people_using) +"')")
c1.execute(updates2)
fit..commit()
print('item updated')
else:
(‘something wemt wrong')
elif (c==2):
print('')print('to create your account please enter your user id and
password! )
print('")
c1=fit.cursor()
#c1=fit.cursor
(‘create table user_fitness_rahi1(user_id
varchar(199) primary key,password varchar (190), name
varchar (190))')
v_user_id=int (input (‘choose your user id (in integar)'))
print('")
v_passwd=int(input('create your password (in integar)'))
print('')
v_name=input('your full name")
print('")
ci=fit.cursor()
update=("insert into user_fitness_rahii values("+
str(v_user_id) +","+ str(v_passwd)
c1.execute(update)
Fit.commit()
print('account created’)
elif (
print('vist again")
print('')
print('thank you')
else:
"+ (viname) +"")")
(‘something wemt wrong!)OUTPUT
Account created
{Python 370 Shel
File Edit Shell Debug Options Window Help.
Python 3.7.0 (v3.7.0:4b£9ccS093, dun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMDE
4)] on wind
Type "copyright", "credits" or "License()" for more information,
>»
RESTART: C:\Python37\Lib\idlelib\rahi6056\set_up.p
connected
WELCOME TO RAKI FITNESS CENTRE
10 LOGIN PRESS
TO CREATE YOUR NEW ACCOUNT PRESS
TO EXIT PRESS
reate your account please enter your user id and password
user id (in integar)1212
create your password (in integar) 1111
your full nanekala
account created
>»
10L& “Python 3.7.0 Sheil
File Edit Shell Debug Options Window Help
Python 3.7.0 (v3.7.0:ibfScc5093, Jun 27 2018,
Type "copyright", “credits" or “license()" for more inform
RESTART: C:\Python37\Lib\idielip\rani6056\set|
connected
WELCOME TO RAHI FITNESS CENTRE
TO LOGIN PRESS
TO CREATE YOUR NEW ACCOUNT PRESS
TO EXIT PRESS
enter your choice2
to login please enter your user id and password
enter your user idi212
enter your passwordilii
enter your nameka2
SUCCESSFULLY LOGINI!!!!!!!
welcome to kal fitness centre
to see castumer details press
to update costumer details press
to see items in jim press
to update new items press
enter your choicd
a| & Python 3.7.0 Shell
File Edit Shell Debug Qptions Window Help
TO CREATE YOUR NEW ACCOUNT PRESS
TO EXIT PRESS
enter your choicel
to login please enter your user id and password
enter your user id1212
enter your passwordll11
enter your namekal
SUCCESSFULLY LOGIN!!! !!!1!
welcome to kal fitness centre
to see castumer details press
to update costumer details press
to see items in jim press
to update new items press
enter your choicel
total custamer is 10
(12", "6060", ‘KASH KUMAR', '22-2-2019', 500")
(*2001', 'KALA', ‘SSA', '22-12-2019', 12522")
(12002, 'SP*, 'SSA', '22-05-2019", '2522')
(*2003', 'RAKESH KUMAR, 'SSA(CHOLA)', '22-06-2018',
(12004, 'DHEERAT KUMAR', 'SSA(CHOLA)', ‘14-06-2019!
(12121", 'S.Khan', 'G M ROAD, AMARVATHINAGAR', '21-1
((25', ‘hh', ‘hbiub', ‘jhhi', '20')
*5000")
*10000")
018", 8000")
(15967, ‘ANURAG KUMAR, 'VILL+POST BARH', '22-12-2019', '2000')
(16087', ‘ANANT KUMAR', 'SSA(CHERE)', '4-01-2019", '1550")
(*6061', ‘ALOK KUMAR", 'GAYA', '24-10-2019', 12000")
2L& Python 3.7.0 Shett
File Edit Shell Debug Options Window Help
TO EXIT PRESS
enter your choicel
to login please enter your user id and password
enter your user 1di212
enter your passwordili1
enter your namelake
SUCCESSFULLY LOGIN! !!!!1!
welcome to laka fitness centre
to see castumer details press
to update costumer details press
to see items in jim press
to update new items press
enter your choice2
to update costumer details please enter the following detaiis
Anter castamar id (in intiger) 232
castamer name is rkala
enter addras of castameramarvathinagar
camtamer joined datai2-05-2019
paid amuount250
costumer details succesully updated
13(a Python 3.70 she
File Edit Shell Debug Options Window Help
WELCOME TO RAHI FITWESS CENTRE
Losin PRESS
CREATE YOUR NEW ACO
EXIT PRESS
enter your choicel
to login please enter your user id and password
your passvordilli
your nanekala
SUCCESSFULLY 10%
welcome to kala
to see castumer details press
to update costumer detaiis press
to see items in jim press
w stems press
ar chotces
TEMS RECTHERE IM kala JIM
eight Lifting’, '-12-21
(285, *bambal', *22-5-219", *
4To LOIN PRESS
TO CREATE YOUR NEW ACCOUNT PRESS
TO EXIT PRESS
to login please enter your user id and password
your user 1di212
your pasawora1112
SUCCESSFULLY LoGIMIHHtttt!
welcome to lala fitness centre
to see castumer details press
to update costumer details press
ro see stems in 34m press
your choices
coral
the object code (in integer) 454
the name of 31m itemscycling
the date og purchasez2-10-2018
the date of repair ~
personis
15SOURCE CODE OF TABLES
import mysql.connector as sql
fit=sql.connect(host="localhost' user="root’ passwd='admin@123',database="fit_project’)
if fitis_connected():
print(‘connected’)
ct=fit.cursor()
1 .execute(‘create table user_fitness_rahi(user_id varchar(10) primary key,password
varchar(11),name varchar(10)))
fitcommit()
print(table created’)
import mysql.connector as sql
fit=sql.connect(host=localhost’,use
iffit.is_connected():
‘root’ passwd='admin@123' database="'fit_project’)
print(‘connected’)
ct=fit.cursor()
1 .execute(‘create table jim_items(object_id int(225) primary key,object_name
varchar(65) date_of_parchase varchar(65),repairing_data
varchar(65),total_people_using int(65))’)
fit.commit()
print(table created’)‘Software Testing is an empirical investigation conducted to provide stakeholders
with information about the quality of the product or service under test[1] , with respect to
the context in which it is intended to operate. Software Testing also provides an
objective, independent view of the software to allow the business to appreciate and
understand the risks at implementation of the software. Test techniques include, but are
Not limited to, the process of executing a program or application with the intent of finding
software bugs.
It can also be stated as the process of validating and verifying that a software
program/application/product meets the business and technical requirements that guided
its design and development, so that it works as expected and can be implemented with
the same characteristics. Software Testing, depending on the testing method employed,
can be implemented at any time in the development process, however the most test
effort is employed after the requirements have been defined and coding process has
been completed.
16This programme helps the users to add a DATA of customers of all those
who does come to our fitness centre. Today's world is full of completions
and the only winner of this race is the one who chalknges everybody in that
specific feld.
This program is one example of how one shop can be deferent in function
from the other.
One has to use the data management software. Software has been an
ascent in atomization of various organisations. Many software products
working are now in markets,which have helped in making the organizations
work easier and efficiently.
Data management initially had to maintain a lot of ledgers and a lot of
paperwork has to be done but now software production this organization
has made their work faster and easier. Now only this software has to be
baded on the computer and work can be done.1. Computer science With Python - Class XI By : Sumita Arora
2. A Project Report On Blood Bank Management System (BBMS)
By : Praveen M Jigajinni
3. Website: https:/iwww.w3resource.com
7