|
|
|
|
|
by talideon
1683 days ago
|
|
If you don't care which version of python it runs under, you do this: #!/usr/bin/env python
If you do, then `python2` or `python3` will be around, and you should specify them explicitly instead of `python`. I'm happy to be corrected on this one, but I always slap this at the top of my scripts: #!/usr/bin/env python3
I'm not aware of anywhere that wouldn't invoke a Python 3 interpreter if one is installed.The original post just seems like one big faff. |
|