python - Script to run a jupyter notebook automatically -


i have jupyter notebook both html , python code in it. possible write script launch notebook , run in browser? solutions on web refer running these scripts command line, want them show on

i'm not sure os you're on, here's small batch file moves directory .ipynb files, starts jupyter, , opens specific notebook of mine:

cd "%userprofile%\desktop\att" start chrome.exe http://localhost:8888/notebooks/att_sql.ipynb# jupyter notebook 

i put on desktop , double click start jupyter. replace notebook's name mine att_sql.ipynb#. you'll have change cd command well.

edit: or better yet:

cd %userprofile%\path\to\your\jupyter\dir jupyter notebook yournotebook.ipynb 

source


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -