IIRC not all distros will put executable binaries in &#x2F;usr&#x2F;bin&#x2F;, but even those that don&#x27;t will usually provide &#x2F;usr&#x2F;bin&#x2F;env (even as a symlink), which will then search your path for python. In summary: &#x2F;usr&#x2F;bin&#x2F;env is more portable. I&#x27;m unsure whether &quot;#!&#x2F;usr&#x2F;bin&#x2F;env python&quot; is equivalent to #!python.