Andrey Bychkov <> added the comment:

I think, at this moment, the optimal is parsing information from os-release 
file, because it's contained in majority linux distributions. Also can using 
'Lsb_release -a' command, but not all distributions support 'Linux Standard 
Base'. At final can using at first parsing the os-release and if it failed, can 
using the lsb command parse.


Python tracker <>
Python-bugs-list mailing list

Reply via email to