The tell() method tells you the current position within the file; in other words, the next read or write will occur at that many bytes from the beginning of the file. 6. What is the current syntax of rename() a file?
A. rename(current_file_name, new_file_name)
B. rename(new_file_name, current_file_name,)
C. rename(()(current_file_name, new_file_name))
D. None of the mentioned
Answer:A
The tell() method tells you the current position within the file; in other words, the next read or write will occur at that many bytes from the beginning of the file. 6. What is the current syntax of rename() a file?
A. rename(current_file_name, new_file_name) B. rename(new_file_name, current_file_name,) C. rename(()(current_file_name, new_file_name)) D. None of the mentioned
Explanation: This is the correct syntax which has shown below.