mutapath.MutaPath.write_bytes

MutaPath.write_bytes(bytes, append=False)[source]

Open this file and write the given bytes to it.

Default behavior is to overwrite any existing file. Call p.write_bytes(bytes, append=True) to append instead.