getting linux distro used...

Marcin Stępnicki mstepnicki at
Mon Apr 27 12:58:36 CEST 2009

Dnia Sun, 26 Apr 2009 22:35:29 -0700, deostroll napisał(a):

> Hi,
> I just found that you could use platform.system() to get the underlying
> os used. But is there a way to get the distro used...?

Perhaps reading /etc/issue is sufficient? However, I know that for 
example Slackware puts its version in /etc/slackware-version :>. 

More information about the Python-list mailing list