run jupyter from command jupyter nbconvert --to script --execute --stdout test_nbconvert.ipynb | python