I have written a Python module which contains functions that return arrays. I want to be able to access the string arrays returned from the python module, and iterate over i
In addition, you can tell python process to read STDIN with "-" as in
echo "print 'test'" | python -
Now you can define multiline snippets of python code and pass them into subshell
FOO=$( python - <
You can also use env and set to list/pass environment and local variables from bash to python (into ".." strings).