mutapath.Path.with_poxis_enabled

Path.with_poxis_enabled(enable: bool = True)[source]

Clone this path in posix format with posix-like separators (i.e., ‘/’).

Example

>>> Path("\home\\doe/folder\sub").with_poxis_enabled()
Path('/home/joe/doe/folder/sub')