title: Detect python version in shell script
body: <p>I'd like to detect if python is installed on a Linux system and if it is, which python version is installed.</p>
  
  <p>How can I do it? Is there something more graceful than parsing the output of <code>"python --version"</code>?</p>