Is it possible to pass variables to Python when invoking a script from a bash shell?
For example, when I would call my_script in the shell like this:
python my_script.py -par1 -par2
is it possible to use par1 and par2 as variables in Python so I can pass them as arguments to a function?
Something similar like for shell scripting, where in something like this:
my_script.sh par1
par1 would be stored as $1