[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

revisiting the "What am I running on?" question

On Wed, Feb 20, 2019 at 1:51 AM songbird <songbird at anthive.com> wrote:
> For other systems, the values are:
> System  platform value
> Linux           'linux'
> Windows         'win32'
> Windows/Cygwin  'cygwin'
> Mac OS X        'darwin'
> =====
>   no win64?

The value "win32" means Windows (or, more technically, "Windows NT
family", as opposed to Win95/Win98 - but since Win XP, that's the only
type of Windows there is). If you actually care about whether it's a
32-bit or 64-bit OS, you can look at sys.maxsize.

>   no arm(s)?

That's a CPU architecture. What OS would you be running on your ARM?
If it's Windows, "win32". If it's Linux, "linux". Etc.