quickΒΆ

Quick CapSule (qurry.capsule.quick)

qurry.capsule.quick.quickRead(filename: str | Path, save_location: Path | str = PosixPath('.'), filetype: Literal['json', 'txt'] = 'json', encoding: str = 'utf-8') Any[source]ΒΆ

Quick read file.

Parameters:
  • filename (Union[str, Path]) – Filename.

  • encoding (str, optional) – Encoding method. Defaults to β€˜utf-8’.

Returns:

Content of the file.

Return type:

str