spectrochempy.pathclean๏ƒ

pathclean(paths)[source]๏ƒ

Clean a path or a series of path.

The aim is to be compatible with windows and unix-based system.

Parameters:

paths (str or a list of str) โ€“ Path to clean. It may contain Windows or conventional python separators.

Returns:

pathlib or list of pathlib โ€“ Cleaned path(s).