MCPcopy
hub / github.com/geekcomputers/Python / rewind

Function rewind

ex20.py:11–12  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

9
10# seek(n) to read a file's content from byte-n
11def rewind(f):
12 f.seek(0)
13
14
15def print_a_line(line_count, f):

Callers 1

ex20.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected