Is there a way I can have multiple shebangs?
So I can call
We can't have multiple shebang lines - there can only be one and it should always be the first line.
If you need to support multiple versions of Python based on OS, it is best to write a small shell wrapper that invokes your python script with the right interpreter, probably with an
MacOS does have
See this post: