Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Most of the Linux distros I've used have the generic executable linked to a specific version: ls -l /usr/bin/python -> python2.6

If you need a specific version because of libraries or whatever, just use: #!/usr/bin/env python2.7



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: