the python executable is "/path/A/B/python". But unfortunately I need to source a file and export some environmental variables to make that executable runnable.
So I want to define my own "interpreter", say /home/name/mypython
#!/bin/bash
source something
/path/A/B/python
and include above script in the shebang of a python file
#!/home/name/mypython
## rest of the python script
but unfortunately it doesn't work. it just brings me to a python shell without doing anything. what else should I do that?