def mkdir(*paths): """Create directories and any parent directory that doesn't exist""" for path in paths: run('mkdir -p {0}'.format(path))