Re: What are the possible (exact) values for os.name [portability question]

Guido.van.Rossum@cwi.nl
Mon, 11 Apr 1994 18:43:22 +0200

> What are the possible (exact) values for os.name
>
> 'posix'
>
> On dos, is it 'DOS' or 'dos' or 'Dos' ?

'dos'

> On Macintosh, is it : 'Mac', 'mac', 'macintosh' , or some other ?

'mac'

And on Windows/NT, it will be 'nt'.

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>