On 8/4/2015 2:30 PM, Cecil Westerhof wrote:
On Tuesday 4 Aug 2015 22:52 CEST, Emile van Sebille wrote:
My platform shows as linux2 and it worked fine for me when checking for that.I heard that that was possible also, but none of my systems gives this. I should change it.
You could also use the platform module: >>> import platform >>> platform.system() 'Linux' >>> Emile -- https://mail.python.org/mailman/listinfo/python-list