ape.parts.storage.filestorage.FileStorage.write

FileStorage.write(text, exceptions=(<type 'exceptions.AttributeError'>, <type 'exceptions.ValueError'>))

Writes the text to the file

Param:
  • text: text to write to the file
  • exceptions: exceptions to catch if the file is closed
Raise:

ApeError if one of the exceptions is raised

Navigation