title: How to make the Shebang be able to choose the correct Python interpreter between python3 and python3.5
body: <p>I'm developing a set of script in python3, as shebang I use this:</p>
  
  <pre><code>#!/usr/bin/env python3
  </code></pre>
  
  <p>Everything goes ok, but in some virtual machines where are executed the name of interpreter is <code>python3.5</code>. I will like to be able to execute my scripts in both enviroment but I can't change the filesystem of virtual machine (so I discard solutions like make a link from python3.5 to python3 )</p>
  
  <p>I look at man of <code>env</code> but I don't find any way to specify a searching pattern or something like that.</p>
  
  <p>I try to set an <code>alias</code> at begining of my sessions pointing to right python interpreter but env don't use it.</p>
  
  <p>My unique solution is call my scripts saying which interpreter must use but is very anoying:</p>
  
  <pre><code>python3.5 myscript.py
  </code></pre>
  
  <p>Any idea is welcome!, thanks!</p>