On 19/02/2019 14:35, songbird wrote:
Dan Sommers wrote:
...
Python 3.7.2 (default, Jan 10 2019, 23:51:51)
[GCC 8.2.1 20181127] on linux
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.platform
'linux'

   this doesn't help me for the rest of the platforms
available.


=====  from the docs:

   if sys.platform.startswith('freebsd'):
     # FreeBSD-specific code here...
elif sys.platform.startswith('linux'):
     # Linux-specific code here...

For other systems, the values are:
System  platform value
Linux           'linux'
Windows         'win32'
Windows/Cygwin  'cygwin'
Mac OS X        'darwin'

=====

   no win64?
   no arm(s)?

   no legs(a joke :)...

   the above is missing a lot of devices.

It isn't listing devices, it's listing platforms. Linux could be running on an ARM, an x64 chip, or probably a few other chips too. What *specifically* do you want, and why?

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to