Jupyter
安装
pip install jupyterlab -i https://pypi.tuna.tsinghua.edu.cn/simple
conda install -c conda-forge jupyterlab
启动
jupyter lab
jupyter lab --ip=xxx --port=8038
jupyter lab --no-browser --port=8889 --ip=127.0.0.1
ssh -N -f -L localhost:8888:localhost:8889 -p 22 user@host
ssh -N -f -L localhost:8038:localhost:8038 -p 22 user@host
配置
代码折叠
# 设置-Text Editor
{
"editorConfig": {
"lineNumbers": true,
"codeFolding": true
}
}
# 设置-Notebook
{
"codeCellConfig": {
"codeFolding": true
}
}