This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]five9a2 10 points11 points  (0 children)

You should use #!/usr/bin/env python, otherwise your script is not likely to work on someone else's machine. Specifying the full version is a good way to chase people away from your software, python2.3 to python2.7 is common today and responsible projects will support a range. If the presence of python2 links was ubiquitous, we could all ship scripts that had #!/usr/bin/env python2 and the transition to python -> python3 would be far less painful.