pyleecan.Functions.short_filepath module

short_filepath(filepath, length=40)[source]

truncate a filepath string to the specified length but at least returns the filename