The correct syntax of seek() is :
file_object.seek(offset[, reference_point])
Reason — The syntax of seek() function is <file-object>.seek(offset[, mode]).
<file-object>.seek(offset[, mode])