os.name under Win32

Steve Holden steve at holdenweb.com
Sat Sep 9 19:36:22 EDT 2006


Martin v. Löwis wrote:
> 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".
> 
That's correct.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list