I have a Python function, fooPy() that returns some value. ( int / double or string)
I want to use this value and assign it in a shell script. For example following
You can print your value in Python, like this:
print fooPy()
and in your shell script:
fooShell=$(python fooPy.py)
Be sure not to leave spaces around the = in the shell script.
=