I want to execute a python script via “Here Document” following some arguments in my bash shell script, as follows
python <<'__SCRIPT__'
...
__SCRIPT__
ARG1 ARG2 ...
But don't know how to give these arguments. I have tried putting them following python, following SCRIPT and a new line right after SCRIPT. But errors are reported in all of the cases when executed.
So what is the right way?
BR, RUOCHEN