ape.parts.storage.base_storage.BaseStorage.write

BaseStorage.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