PyDocs

Nav

Importing Modules

SourceLoader.set_data

  • SourceLoader.set_data(path, data)
Write the bytes to the path (if possible).

Accepts a str path and data as bytes.

Any needed intermediary directories are to be created. If for some
reason the file cannot be written because of permissions, fail
silently.
Changed in 3.4
  • 3.4: No longer raises NotImplementedError when called.
0 Examples
No examples for importlib.abc/SourceLoader.set_data.
See Also
No see-alsos for importlib.abc/SourceLoader.set_data
0 Notes
No notes for SourceLoader.set_data