Use #!/bin/env python. This won't work for virtual environments.