New submission from Yugi <mang...@gmail.com>:
I was trying to handle path to work on both '/' and '\' but when I tried to run the code like they said on: https://stackoverflow.com/questions/3167154/how-to-split-a-dos-path-into-its-components-in-python I have no idea why the terminal on my PC doesnt have the same output like everybody was discussing at the time the questions and answers were posted. OS: ubuntu 16.04 LTS, Intel Core i5-7500, 16GB/1TB, Intel HD Graphics 630 python version: 3.5.2 I borrowed a mac pro 2015 to check if it had the same output like my PC but it had not. my friend has python 3.7.1 installed and the output is: ['d:\\stuff\\morestuff\\furtherdown\\THEFILE.txt'] (on my PC, it is: ['d:\\stuff\\morestuff\x0curtherdown\\THEFILE.txt']). I'm totally new to Python and I'm very sorry if this issue is already reported. Thank you! ---------- files: Screenshot from 2019-08-24 21-41-52.png messages: 350371 nosy: Yugi priority: normal severity: normal status: open title: os.path.normpath change some characters of a path into kinda 'hex number' type: behavior versions: Python 3.5 Added file: https://bugs.python.org/file48560/Screenshot from 2019-08-24 21-41-52.png _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com