A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047332.html below:

[Python-Dev] Recommended way to tell platform

[Python-Dev] Recommended way to tell platform [Python-Dev] Recommended way to tell platform"Martin v. Löwis" martin at v.loewis.de
Sun Aug 8 09:22:32 CEST 2004
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4