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. i looked around for something more complete and didn't come across anything more definitive that looked to be up to date. songbird -- https://mail.python.org/mailman/listinfo/python-list