Issue
I am trying to understand the code in a shell script file (.sh
):
$MY_PYTHON raw.py
Could you help me understand what this line does? Does it run raw.py
?
Solution
$MY_PYTHON
is just a bash variable that stores the path to the python
executable.
If it is not defined in your script file, it is an environment variable.
You can add this line to your shell script to examine its value:
echo $MY_PYTHON
Answered By - Janez Kuhar