besos library
BESOS Platform
Overview
How-to Guides
Tutorials
Reference
Modules
get_file_name()
listify()
Helper functions to be used throughout the code base
Finds and returns the file name from the path
path – A directory to the idf file
String of file name
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)