Alex Kleider <aklei...@sonic.net> writes: > Am I to assume that if I have activated a virtualenv, then the > following shebang > #!/usr/bin/env python > will use the python specified in the venv/bin/?
Yes, the purpose of that shebang is to tell the OS that *whichever* ‘python’ command is found first, is the one to use. That way it's not hard-coded, but is up to your environment (including the virtualenv) to determine at run-time which Python interperter to use. If it does not, start a new thread and we'll try to figure out what's going wrong. -- \ “A computer once beat me at chess, but it was no match for me | `\ at kick boxing.” —Emo Philips | _o__) | Ben Finney _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor