Returns the size of the file.
(self)
| 98 | return compat.as_str_any(val) |
| 99 | |
| 100 | def size(self): |
| 101 | """Returns the size of the file.""" |
| 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.""" |