I execute python script by using bash script, it works fine. However I'm trying to find a way to get variable (for bash usage) from python execute. Example:
#!/bin/sh
python Script.py Michael 17
python Script.py Andrea 19
echo "Script was executed with : Michael, 17 "
echo "Script was executed with : Andrea 19"
Is there any way to get that variables ? I would like to avoid assigning eg. Michael, 17 to bash variables at the beginning.
Thanks.