def seekset_ng(func):
@functools.wraps(func)<EOL>def seekcur(file, *args, seekset=os.SEEK_SET, **kw):<EOL><INDENT>file.seek(seekset, os.SEEK_SET)<EOL>return_ = func(file, *args, seekset=seekset, **kw)<EOL>return return_<EOL><DEDENT>return seekcur<EOL>
Read file from start then set back to original.