that assumes that the file is using a shebang and ...
# general
m
that assumes that the file is using a shebang and wasn’t run like “python /foo/bar” where /foo/bar is not chmod +x