Computer Science
What are text files ?
Python File Handling
3 Likes
Answer
A text file stores information in ASCII or Unicode characters, where each line of text is terminated, (delimited) with a special character known as EOL (End of line) character. In text files some internal manipulations take place when this EOL character is read and written.
Answered By
1 Like
Related Questions
What would be the data type of variable data in following statements ?
- data = f.read()
- data = f.read(10)
- data = f.readline()
- data = f.readlines()
How are following statements different ?
- f.readline()
- f.readline().rstrip()
- f.readline().strip()
- f.readline.rstrip('\n')
What are binary files ?
What are CSV files ?