I am using Python in Apache on a Raspberry Pi. The first line of the Python files has the following line:
#!/usr/bin/env python
What does it mean? The /usr/bin/env
folder contains no files. My Python executable is the symbolic link /usr/bin/python
.
The above works fine and it runs Python 2.7, the one pointed to by /usr/bin/python
. If I want to use Python 3 can do it by just changing this line to some appropriate values?