[Python-Dev] Recommended way to tell platform (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sun Aug 8 09:22:32 CEST 2004
- Previous message: [Python-Dev] Recommended way to tell platform
- Next message: [Python-Dev] Re: Recommended way to tell platform
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Peters wrote:
I dislike using os.name == 'nt', mostly because if we asked all Windows Python users which OS they use, only a tiny percentage would answer "NT".
A similar point holds for Linux, btw. os.name is "posix"; I doubt many Linux (or, Solaris) users would say that the name of their OS is "posix". It has the advantage over "nt" that "posix" is not dying.
Regards, Martin
- Previous message: [Python-Dev] Recommended way to tell platform
- Next message: [Python-Dev] Re: Recommended way to tell platform
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]