Anyone know this? I've never been able to find an answer.
it finds the python executable in your environment and uses that. it's more portable because python may not always be in /usr/bin/python. env is always located in /usr/bin.
Why is '#!/usr/bin/env python' supposedly more correct than just '#!/usr/bin/python'?