How would I get the detailed version of my Python interpreter via a one-liner or command-line option? <p>The output of --version itself is a little too brief:</p> <pre><code>C:\&gt;python --version Python 2.7.5 </code></pre> <p>However, if I run Python from the command prompt, I get something similar to the following, with verbose version info for the interpreter all on one line:</p> <pre><code>C:\&gt; python Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. </code></pre> <p>Is there a simple way, <em>in a one-line command or via some options</em> to get that same verbose version info line as a string that I could use to populate an environment variable or such?</p> <p><strong>In effect, is there a more verbose variant of --version I'm unaware of?</strong></p>