Writes file_content to the file. Appends to the end of the file.
(self, file_content)
| 102 | return stat(self.__name).length |
| 103 | |
| 104 | def write(self, file_content): |
| 105 | """Writes file_content to the file. Appends to the end of the file.""" |
| 106 | self._prewrite_check() |
| 107 | pywrap_tensorflow.AppendToFile( |
| 108 | compat.as_bytes(file_content), self._writable_file) |
| 109 | |
| 110 | def read(self, n=-1): |
| 111 | """Returns the contents of a file as a string. |