PyDocs

Nav

Importing Modules

read_text

  • read_text(anchor, *path_names, encoding='utf-8', errors='strict')
Read and return contents of *resource* within *package* as str.
Changed in 3.13
  • 3.13: Multiple path_names are accepted. encoding and errors must be given as keyword arguments.
0 Examples
No examples for importlib.resources/read_text.
See Also
No see-alsos for importlib.resources/read_text
0 Notes
No notes for read_text