Class12 Computer Project
Class12 Computer Project
Class12 Computer Project
K SCHOOL___
TOPIC:
RAILWAY RESERVATION SYSTEM
ALL INDIA SENIOR SCHOOL CERTIFICATE EXAMINATION
(AISSCE)
SESSION 2023-24
SUBMITTED BY:
CLASS: XII(science)
ROLL NO:
INDEX
1. ) Certificate
2. ) Acknowledgements
3. ) Declaration
4. ) Aim
6.) Requirements
7.) Bibliography
CERTIFICATE
This is to certify that
________________
have successfully completed
this project report entitled
“RAILWAY RESERVATION SYSTEM”
During the academic year 2023-2024
towards partial fulfilment of
C.S. Practical Examination conducted by
CBSE.
--------------------------- -----------------------------
Teacher’s Signature Principal’s Signature
-----------------------
External Invigilator’s Signature
ACKNOWLEDGEMENT
We take this opportunity to express our
profound gratitude and deep regards to
our subject teacher for his exemplary
guidance, monitoring and constant
encouragement throughout the course of
this project.
The blessing, help and guidance given
by him time to shall carry us a long way
in the journey of life on which we are
about to embark.
_________________
DECLARATION
I hereby declare that the project
work entitled:
“RAILWAY RESERVATION
SYSTEM”
is prepared by us,
_________
under the supervision of our
subject teacher for the partial
fulfilment of
All India Senior Secondary
Certificate Examination (AISSCE)
AIM
Write a program using Python and MY-SQL
connectivity for Railway Reservation
INTRODUCTION
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 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.
There are also various other functions that help to manipulate the
files and its contents. One can explore various other functions in
Python Docs.
ABOUT MODULES
Modules refer to a file containing Python statements and
definitions. A file containing Python code, for e.g.: example.py, is
called a module and its module name would be example.
We use modules to break down large programs into small
manageable and organized files. Furthermore, modules provide
reusability of code.
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.
CODING
MODULES USED
MAIN CODE USED
REQUIREMENTS
BIBILIOGRAPHY
__________