The File
class makes the default assumption all files have cr-delimited unicode content that is UTF-8 encoded. This is great for JSON files. It also provides better operators over some common file manipulations.
Version 6.x
Get a little closer to Python's pathlib module standards
stem
- to refer file name without extensionos_path
- to get the os-specific absolute path for use in other Python modulesrel_path
- the given pathabs_path
- wasabspath
, added underscore for consistency