On 2/17/19 8:46 PM, songbird wrote:
simply put. if i'm running on a computer and i
don't easily know why kind of computer how can i
answer this in a quick way without getting overly
complicated that also will cover most of the easy
cases?
i came up with this:
comments? additions? clarifications?
[...]
(env) me@ant(39)~/src/salsa/bits/sysprobe$ python3 sysprobe.py
Temp directory : -->/tmp<--
Result : -->/tmp<--
posix
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'
--
https://mail.python.org/mailman/listinfo/python-list