Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
School Bhagwanpur
Session: 2019-20
Computer science(083)
Class: 12 Sec :K
CERTIFICATE
Board Roll No: Page:1
It is to certify that this project is the
bona fide work of Tanya Arora , class 12-
K of Sunbeam English School,
Bhagwanpur, Lanka, Varanasi. She has
developed this Python project under my
supervision, following strictly the
guidelines of CBSE through the
academic session 2019-2020.
Mr.
Pradumna Singh
(PGT-Computer Sc.)
TOPIC PAGE.NO
1.ACKNOWLEDGEMENT………………4
2.ABOUT Digital India………………………5
3. History of Python …………………14
2.PREFACE………………………………17
3.MODULES USED…………… 18
4. FUNCTION Used…….18
6.PROGRAM LISTING…………………19
7.SAMPLE OUTPUT……………………27
8.LIMITATION……………………………28
9.BIBLIOGRAPHY…………………………29
A Digital India Year would make sure that each and every
aspect of the programme is pushed to show results on the
ground and not go into hibernation after one week of
enthusiasm.
History of Python
Easy as ABC
What do the alphabet and the programming language Python have
in common? Right, both start with ABC. If we are talking about
ABC in the Python context, it's clear that the programming
language ABC is meant. ABC is a general-purpose programming
language and programming environment, which had been
developed in the Netherlands, Amsterdam, at the CWI (Centrum
Wiskunde & Informatica). The greatest achievement of ABC was to
influence the design of Python.
Readability counts.
to do it.
Although that way may not be obvious at first unless you're
Dutch.
Now is better than never.
Board Roll No: Page:15
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good
idea.
Namespaces are one honking great idea -- let's do more of
those!
Python flourished for another 8 years in the versions 2.x before the
next major release as Python 3.0 (also known as "Python 3000" and
"Py3K") was released. Python 3 is not backwards compatible with
Python 2.x. The emphasis in Python 3 had been on the removal of
duplicate programming constructs and modules, thus fulfilling or
coming close to fulfilling the 13th law of the Zen of Python: "There
should be one -- and preferably only one -- obvious way to do it."
PREFACE
Modern age is an age of computers. The computer has become a
part of life in the west where computer technology is making fast
headway. It is essential to make evolutionary changes in every
field, but in comparison among the developing countries, INDIA is
developing very fast in the field of computer technology. The Prime
Minister of India is also promoting Digital India motion.
Not only this, but it is also traditional data processing to be
performed much faster. But within five years, the computer
technology has made tremendous progress in every field of the
work.
I have developed this software namely “SONG MANAGMENT”
using Python language. The creator of this software has left no
stone unturned to convert it into a interactive & user-friendly way
of searching for songs from India and abroad. It allows the user to
search for songs via many ways such as: through categorizing by
artist/album,by the genre of song and etc. It has a few more things.
Board Roll No: Page:17
So let’s start & see ………………………
Tanya Arora
ModulesUsed:
pickle
*For open()
*For close()
*For dump()
*For load()
os
*For rename()
*for remove()
Functions :
write( ):To take input from the user and store it in a binary file named ‘phone.dat’.
SearchRange(s,b):To search for all the phones available which serves as the
argument for this function from the binary file ‘phone.dat’.
Mod1(n): This function helps the user to modify the informations of different
phones stored in the binary file ‘phone.dat’ if and only if the user knows the
authorization code which also works as the argument for the function.
delete(n): This function allows the user to delete the complete record of a particular
hotel stored in the binary file ‘phones.dat’ if and only if the user knows the correct
authorization code which works as the argument for the function.
Board Roll No: Page:18
Read():To Display all class members from the binary file
‘phone.dat’.
PYTHON
CODING
print(str(row["sno"]).ljust(7),str(row["name"]).ljust(25),str(row["aname"]).ljust(25),
str(row["albname"]).ljust(25),str(row["dor"]).center(4))
print(str(row["sno"]).ljust(7),str(row["name"]).ljust(25),str(row["aname"]).ljust(25),
str(row["albname"]).ljust(25),str(row["dor"]).center(4))
print(str(row["sno"]).ljust(7),str(row["name"]).ljust(25),str(row["aname"]).ljust(25),
str(row["albname"]).ljust(25),str(row["dor"]).center(4))
print(str(row["sno"]).ljust(7),str(row["name"]).ljust(25),str(row["aname"]).ljust(25),
str(row["albname"]).ljust(25),str(row["dor"]).center(4))
SAMPLE
OUTPUT
Board Roll No: Page:27
LIMITATIONS
BIBLIOGRAPHY