Unix syntax:
echo ${readIn_list[@]}
echo $var
python yourPython.py $var ${readIn_list[@]}
Python syntax:
readIn_list = sys.argv[2:]
Source: https://unix.stackexchange.com/questions/519625/passing-bash-array-to-python-script
Unix syntax:
echo ${readIn_list[@]}
echo $var
python yourPython.py $var ${readIn_list[@]}
Python syntax:
readIn_list = sys.argv[2:]
Source: https://unix.stackexchange.com/questions/519625/passing-bash-array-to-python-script