tlpipe.kiyopy.utils

A few utilities that I have found the need for.

Most of these are only a few lines long, but this way I don’t have to remember how to do the same thing over and over.

Functions

abbreviate_file_path(fname) Abbrviates file paths.
mkdir_p(path) Same functionality as shell command mkdir -p.
mkparents(path) Given a file name, makes all the parent directories.