Let's say I want to use a shell script to run a python file, called test.py, which is in a directory called Test in my home directory. I tried the following code, which does not work:
#!/bin/bash
echo "Starting."
module load gcc/4.8.2
module load python/3.4.1
echo "Modules loaded."
$HOME/Test/test.py
exit 0
I do not believe that how I am trying to run the program ($HOME/Test/test.py) works. I have not been able to determine how to do this, despite searching for a long time. Any help would be appreciated.