[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Convert Windows paths to Linux style paths

On 12/03/2019 15.51, Malcolm Greene wrote:
> Looking for best practice technique for converting Windows style paths to Linux paths. Is there an os function or pathlib method that I'm missing or is it some combination of replacing Windows path separators with Linux path separators plus some other platform specific logic?
> Thank you,
> Malcolm

Could you give some examples of what sort of paths you want to convert
in what way?