LIST I | LIST II |
---|---|
A. write lines | III. Writing a sequence of string |
B. pickle | I. Module for binary files |
C. try-except | IV. Exception handling |
D. rb | II. Opening and reading a binary file |
List-I | List-II |
(A) readline() | (I) Writes a sequence of strings to the file |
(B) writelines() | (II) Reads a single line from the file |
(C) seek() | (III) Force any buffered output to be written to the file |
(D) flush() | (IV) Moves the file pointer to the specified position |