def ensure_directory(path):
    dirname = os.path.dirname(path)
    if not os.path.isdir(dirname):
        os.makedirs(dirname)
Returns the memory size of the given object (in kilobytes).
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/ensure_directory--crossover with--dataset/ETHPy150Open clips/pattern/pattern/metrics.py/kb