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/047297.html below:

[Python-Dev] Recommended way to tell platform

[Python-Dev] Recommended way to tell platform [Python-Dev] Recommended way to tell platformMichael Hudson mwh at python.net
Sat Aug 7 20:40:46 CEST 2004
Tim Peters <tim.peters at gmail.com> writes:

> OTOH, I have no idea when or why sys.platform == "win32" would give a
> different result than os.name == "nt".

Probably never, but os.name == 'posix' covers a huge variety of sins,
so which one you test affects the 'feel' of the code somewhat.

Cheers,
mwh

-- 
  We did requirements and task analysis, iterative design, and user
  testing. You'd almost think programming languages were an interface
  between people and computers.                    -- Steven Pemberton
          (one of the designers of Python's direct ancestor ABC)
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