On Mar 04 2016, Cyril Brulebois <[email protected]> wrote: > Nikolaus Rath <[email protected]> (2016-03-03): >> On Mar 02 2016, Steven Chamberlain <[email protected]> wrote: >> >> [...] Can you tell me how to detect >> >> GNU/kFreeBSD from Python? sys.platform and os.uname are potential >> >> candidates, but the Python docs unfortunately don't mention what the >> >> values of those variables are for GNU/kFreeBSD (and if they differ from >> >> the one for FreeBSD and GNU/Linux). >> > >> > On GNU/kFreeBSD, sys.platform is "kfreebsd9", "kfreebsd10" etc. so I >> > suggest using: >> > >> > if sys.platform.startswith('gnukfreebsd'): >> >> >> Aeh, so what is it now, 'kfreebsd' or 'gnukfreebsd'? > > Trying isn't that hard:
It is pretty hard if you're not a DD (and my request for access to a
guest account is still pending).
Thanks for testing!
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
signature.asc
Description: PGP signature

