tlpipe.kiyopy.utils.abbreviate_file_path

tlpipe.kiyopy.utils.abbreviate_file_path(fname)[source]

Abbrviates file paths.

Givin any file path return an abbreviated path showing only the deepest most directory and the file name (Usefull for writing feedback that doesn’t flood your screen.