The use case is the following:
- convert jupyter notebook to python
- run converted notebook on-the fly with additional arguments
What I have tried so far:
jupyter nbconvert --to python --stdout .\some_nb.ipynb | python
some_nb.ipynb awaits for arguments via argparse so normally I would do something like:
python some_nb.py --argument_one=1
When I do that:
jupyter nbconvert --to python --stdout .\some_nb.ipynb | python --argument_one=1
argument_one is of course binded to python and I am not sure how to properly pipeline this.