Where can I put a startup script in Jupyter?
问题 I'm looking for a way to put my startup script in Jupyter. In IPython, I put it under the $IPYTHON_DIR/profile_default/startup/ . In Jupyter, it seems that the config file should be $JUPYTER_CONFIG_DIR/jupyter_notebook_config.py . However, I would like to use my startup file, which import a slew of Python libraries at the launch of the kernel. Where can I put such file in Jupyter? 回答1: You can get the default startup script folder via this in jupyter notebook: get_ipython().profile_dir