I have a shell script like below.
If I have a test.py that has a variable
a=5, how can I import the variable to the following shell script?
python test.py b=10 if [ $a == $b ] then echo "a is equal to b" else echo "a is not equal to b" fi
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community