Class 12 Computer Science Project Python
Class 12 Computer Science Project Python
Class 12 Computer Science Project Python
TOPIC:
TO STUDY THE EARTH'S MAGNETIC FIELD USING A
TANGENT GALVANOMETER
SESSION 2024-25
2. Acknowledgements
3. Declaration
4. Aim
7. Requirements
8. Bibliography
CERTIFICATE
This is to certify that
Ahnan Khan
have successfully completed
this project report entitled
“FOOD PORTAL”
- Ahnan Khan
DECLARATION
I hereby declare that the project work
entitled:
“FOOD PORTAL”
is prepared by me, AHNAN KHAN,
under the supervision of my subject
teacher for the partial fulfillment of
the
Actually, the list can go on and on. This defines the power of
Python as a programming language. Hence it becomes very
important to learn how to write to a file using python and then
read from the same file.
Python is an interpreted, object-oriented, high-level programming
language with dynamic semantics. Its high-level built in data
structures, combined with dynamic typing and dynamic binding,
make it very attractive for Rapid Application Development, as
well as for use as a scripting or glue language to connect existing
components together.
Hence when are you about to handle such situations, the role of
files will come into the picture.
Python too supports file handling and allows users to handle files
i.e., to read and write files, along with many other file handling
options, to operate on files. The concept of file handling has
stretched over various other languages, but the implementation is
either complicated or lengthy, but alike other concepts of Python,
this concept here is also easy and short. Python treats file
differently as text or binary and this is important. Each line of
code includes a sequence of characters and they form text file.
Each line of a file is terminated with a special character, called
the EOL or End of Line characters like comma {,} or newline
character. It ends the current line and tells the interpreter a new
one has begun. Let’s start with Reading and Writing files.
“ r “, for reading.
“ w “, for writing.
“ a “, for appending.
“ r+ “, for both reading and writing
One must keep in mind that the mode argument is not mandatory.
If not passed, then Python will assume it to be “ r ” by default.
We can define our most used functions in a module and import it,
instead of copying their definitions into different programs.
We can import the definitions inside a module to another module
or the interactive interpreter in Python.
We use the import keyword to do this.
1. Division of development
2. Increases readability of program
3. Programming errors can easily be detected
4. Allows reuse of code
5. Improves manageability
6. Collaboration in projects made efficient and easy.
ABOUT INDIAN RAILWAY
Due to the huge magnitude of the spread of IR, the system cannot
sustain without computers, which have programs built for its
smooth functioning. This project deals with the Indian Railways
and presents a system to digitize the system.
CODING
MODULES USED
MAIN CODE USED
REQUIREMENTS
BIBILIOGRAPHY