[Python-3000] Unicode and OS strings (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Sep 22 21:27:58 CEST 2007


The filesystem is unrelated to sys.argv, except for the need to pass filenames through argv. If the filesystem is using bytes rather than characters, then sys.argv must offer the same option, or else certain scripts will (under some rare circumstances) fail.

The same holds for file names on Windows - they aren't byte strings, either.

Regards, Martin



More information about the Python-3000 mailing list