why is os.getcwd() printing the path in all caps on win2k?
gmcm at hypernet.com
Tue Jan 22 09:13:47 EST 2002
Tim Peters wrote:
>> can anyone tell me why os.getcwd() prints out the path in all caps on
>> win2k at least?
> I cannot, but perhaps Microsoft can: Python's os.getcwd() calls
> Microsoft's _getcwd() on Windows, and that's all it does (apart from
> wrapping the result unaltered in a Python string object). On Win98SE,
> I get "the expected" case mix, so maybe it's a Win2K thing.
Not a Win2K thing (my Win2K box gives me the expected case-preserved
names). More likely a FS thing (eg FAT16).
More information about the Python-list