os.name under Win32

"Martin v. Löwis" martin at v.loewis.de
Sat Sep 9 12:43:53 EDT 2006


Igor Kravtchenko schrieb:
> My question is whether that is supposed to be totally impossible.
> Under Win32, we are indeed supposed to have os.name = "nt".  Is that value
> hardcoded in Win32 binaries distribution themself?  Can it potentially
> change?

I can't test it right now, but I would expect that Cygwin Python
binaries on Win32 have os.name == "posix".

Regards,
Martin



More information about the Python-list mailing list