I am unable to run python script within a shell script. Following is the script.sh file where 3 arguments are being passed to the python script.
python main.py 1.0 0.1 10
The python program is not reading the arguments. When same line is run in command line terminal, it runs fine.
I just checked that by defining the arguments in
main.py hardcoded and running the command without arguments. It still doesn't work. The
main.py is using some other files also which are located in the same directory. Also, the script is also located in the same directory.