How to run a Jupyter notebook with Python code automatically on a daily basis?

Update recently I came across papermill which is for executing and parameterizing notebooks. https://github.com/nteract/papermill papermill local/input.ipynb s3://bkt/output.ipynb -p alpha 0.6 -p l1_ratio 0.1 This seems better than nbconvert, because you can use parameters. You still have to trigger this command with a scheduler. Below is an example with cron on Ubuntu. Old Answer nbconvert –execute … Read more

Passing command line arguments to argv in jupyter/ipython notebook

After a lot of looking around I found very cumbersome, custom libraries, but solved it with a few lines of code which I thought was pretty slick. I used nbconvert to end up with an html report as output that contains all graphics and markdown from the notebook, but accepts command line parameters just as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)