Convert Windows paths to Linux style paths
Bill Campbell
bill at celestial.net
Tue Mar 12 11:40:36 EDT 2019
On Tue, Mar 12, 2019, 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?
See os.path.join
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www2.celestial.com/ 6641 E. Mercer Way
Mobile: (206) 947-5591 PO Box 820
Fax: (206) 232-9186 Mercer Island, WA 98040-0820
The very concept of objective truth is fading out of the world. Lies will
pass into history. -- George Orwell
More information about the Python-list
mailing list