Gerhard Häring <gerhard.haering at gmx.de> wrote in message news:<slrnaimqv2.vl.gerhard.haering at lilith.my-fqdn.de>... > Tom Harris wrote in comp.lang.python: > > Greetings, > > > > How do I tell which OS is running from within Python? > > The usual answer is sys.platform, though I wish there was a better > one. Or for a second opinion: os.name Cheers Jesper