bytes vs. characters
bytes vs. characters
Posted Apr 23, 2015 15:27 UTC (Thu) by lopgok (guest, #43164)In reply to: bytes vs. characters by marcH
Parent article: Report from the Python Language Summit
I would like a simple way in python 3 to be able to read the names of all the files in a directory. In python 3, it skips over some files which I suspect are not in the current codespace. In python 2, it just reads the names of all of the files.
I understand it is problematic to do string processing on oddly constructed strings, but it is mission critical for me to be able to see all the files in a directory. If an exception was raised it would really suck, but it would suck less than silently skipping file names that it didn't understand.
That is the reason I have not migrated all of my development to python 3.
