I’m wondering if shebang is specified in the python script, does it overwrite the caller?
For example, let’s say I have a test.py,
#!/usr/bin/python3 print(“hello world”) And then I call it this way: /usr/bin/python2 test.py
Which python version will call the hello world print fiction?