import os def get_arxml_path(matrix_path: str): files = os.listdir(matrix_path) for file in files: if '.arxml' in file: return os.path.join(matrix_path, file) return ''