Returns the current position in the file.
(self)
| 190 | return lines |
| 191 | |
| 192 | def tell(self): |
| 193 | """Returns the current position in the file.""" |
| 194 | if self._read_check_passed: |
| 195 | self._preread_check() |
| 196 | return self._read_buf.Tell() |
| 197 | else: |
| 198 | self._prewrite_check() |
| 199 | |
| 200 | return pywrap_tensorflow.TellFile(self._writable_file) |
| 201 | |
| 202 | def __enter__(self): |
| 203 | """Make usable with "with" statement.""" |