import subprocess subprocess.call("cat /etc/*rel*", shell=True)
Standard input is empty
PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://w...content-available-to-author-only...n.org/" SUPPORT_URL="http://w...content-available-to-author-only...n.org/support/" BUG_REPORT_URL="https://b...content-available-to-author-only...n.org/"