be in my script.
Currently I have:
#!/usr/bin/python3
However, i'm wondering if this should really be:
#!/usr/bin/env python3
to better support Python virtualenvs?
I have no venvs activated on my local machine right now, so that path doesn't exist but i'm trying to work out what the best practice is here. If I use a venv then the path to Python 3 will be elsewhere right?
The env command has nothing to do with python venvs
thanks for this
this was a huge help, thanks
Обсуждают сегодня