How can I call a function from a python script (Ubuntu shell) but also pass a config parameter at the same time? A relevant SO post does not seem to address that.
This is what I have for now:
$ python -c ' from python_library import * ; function() ; -config /path/to/config/file '
The above fails. And so do the following (as many other) combinations:
$ python -c ' from python_library import * ; function() -config /path/to/config/file '
or
$ python -c ' from python_library import * ; function() ; -config "/path/to/config/file" '
Thanks!