Computer Science
Which function is used to read a single line from file ?
- readline()
- readlines()
- readstatement()
- readfullline()
Related Questions
Which of the following is not a correct Python statement to open a text file "Notes.txt" to write content into it ?
- F = open('Notes.txt', 'w')
- F = open('Notes.txt., 'a')
- F = open('Notes.txt', 'A')
- F = open('Notes.txt', 'w+')
Which function is used to read all the characters ?
- read()
- readcharacters()
- readall()
- readchar()
Which function is used to write all the characters ?
- write()
- writecharacters()
- writeall()
- writechar()
Which function is used to write a list of strings in a file ?
- writeline()
- writelines()
- writestatement()
- writefullline()