MCPcopy Create free account
hub / github.com/ActiveState/code / write

Method write

recipes/Python/572159_SPICE/recipe-572159.py:137–139  ·  view source on GitHub ↗

Encrypt and write to file.

(self, string)

Source from the content-addressed store, hash-verified

135 return _decode(string, self.__dm1, self.__dm2)
136
137 def write(self, string):
138 'Encrypt and write to file.'
139 self.__file.write(_encode(string, self.__em1, self.__em2))
140
141 def seek(self, offset, whence=0):
142 'Seek to virtual positon in file.'

Callers 3

encode_fileFunction · 0.45
decode_fileFunction · 0.45
recipe-572159.pyFile · 0.45

Calls 1

_encodeFunction · 0.70

Tested by

no test coverage detected