Convert Windows paths to Linux style paths

Thomas Jollans tjol at tjol.eu
Tue Mar 12 11:05:27 EDT 2019


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?



More information about the Python-list mailing list