File Handling in Python
File Handling in Python
HANDLING
Why we need of File Handling?
• A file in itself is a bunch of bytes
stored on some storage devices.
• File helps us to store the data
permanently, which can be retrieved
for future use.
Types of Files
Binary
Text Files
Files
CSV Files
Text Files
• Stores information in ASCII or Unicode
characters.
• Each line of text is terminated with a
special character known as EOL (End of
Line)
• Extension for text file is .txt
• Default mode of file.