Just an enhanced version of Python built-in "pathlib.Path" class.
Just an enhanced version of Python built-in pathlib.Path class.
TODO
pip
from official repository:$ pip install git+https://github.com/havocesp/pathext
from pathext import PathExt
file_path = PathExt.home().joinpath('.bashrc')
print(file_path.size) # 54353 bytes
print(file_path.is_video) # False
print(file_path.is_binary) # False
print(file_path.num_lines) # 96