I want to strip platform.linux_distribution().
Output is tuple ('Ubuntu', '11.10', 'oneiric') but I want to show it as "Ubuntu 11.10 oneriric"
.group(1) is not working.
I want to strip platform.linux_distribution().
Output is tuple ('Ubuntu', '11.10', 'oneiric') but I want to show it as "Ubuntu 11.10 oneriric"
.group(1) is not working.
You're looking for
" ".join():