rxn.utilities.files.is_pathname_valid
- rxn.utilities.files.is_pathname_valid(pathname)[source]
True if the passed pathname is a valid pathname for the current OS; False otherwise.
Copied from https://stackoverflow.com/a/34102855. More details there.
- Parameters
pathname (
Union
[str
,PathLike
]) –- Return type
bool