rewind

Explanation about def rewind(f): f.seek(0)

Explanation about def rewind(f): f.seek(0) Question: i was reading a book and there was a code which had a this line in it def rewind(f): f.seek(0) and this is a line that i can’t understand can you please explain me what is going on ? from sys import argv script, input_file = argv def print_all(f): …

Total answers: 3