Railway project
Railway project
SCHOOL
SUBMITTED BY:
R.HEMALATHA
P.GAYATHRI
INDEX
Certificate
o Acknowledgements
o Declaration
o Aim
o Requirements
o Bibliography
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.
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.
Hence when are you about to handle such situations, the role
of files will come into the picture.
“ 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
BIBLIOGRAPHY