McqMate
| Q. |
How do you get the current position within the file? |
| A. | fp.seek() |
| B. | fp.tell() |
| C. | fp.loc |
| D. | fp.pos |
| Answer» B. fp.tell() | |
| Explanation: it gives the current position as an offset from the start of file. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet