# besos_utils¶

Helper functions to be used throughout the code base

besos_utils.get_file_name(path)[source]

Finds and returns the file name from the path

Parameters: path – A directory to the idf file String of file name
besos_utils.listify(arg) → list[source]

Converts the argument to a list if possible. If it is not iterable (i.e. one item), wrap it in a list. Treat strings as 1 item. :param arg: item(s) to be wrapped in list :return: List of the file arg(s)