I'm usually using the following shebang declaration in my Python scripts:
#!/usr/bin/python
Recently, I've came across this shebang declaration:
#!/usr/bin/env python
In the script documentation, it was noted that using this form is "more portable".
What does this declaration mean? How come there's a space in the middle of the path? Does it actually contribute to protability?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…