pg.io.readfile

Accessible via pg.io.readfile.

readfile(path, mode='r', nonexist_ok=False, **kwargs)[source]

Reads content from a file.

Return type:

Union[bytes, str, None]