def tell(self): """Return the total number of bytes passed to write() so far. (There is no seek() method.) """ return self._offset