3 ms·
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 versi
by Nick_C 14y ago
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