Programming with Python

⌘K
  1. Home
  2. Docs
  3. Programming with Python
  4. Files, Modules and Packag...
  5. Files

Files

About Files

File is a named location on the system storage which records data for later access. It is stored in a non-volatile memory

A unique path name of the file must be given to access the file for reading and modification purpose. Files are classified into text file and binary file

Text file

  • Text files are structured as a sequence of lines, where each line includes a sequence of characters.
  • Each line is terminated with a special character, called the EOL or End of line character
  • They are identified with .txt file

Binary File

  • Binary file is a file stored in binary format
  • A binary file is machine – readable but not computer readable
  • All executable programs are stored in binary files

Views: 1

Articles

How can we help?

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments