Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

use pathlib.Path  #13

@ioggstream

Description

@ioggstream

Consider

If this app is py37+, consider using pathlib, which allows:

ret = pathlib.Path(fpath).read_text()
# instead of
with open(fpath) as fh:
   ret = fh.read()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions