How to make the Shebang be able to choose the correct Python interpreter between python3 and python3.5
问题 I'm developing a set of script in python3, as shebang I use this: #!/usr/bin/env python3 Everything goes ok, but in some virtual machines where are executed the name of interpreter is python3.5 . 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 ) I look at man of env but I don't find any way to specify a searching pattern or something like that. I try to set