- install nbconvert
pip install nbconvert
- convert
jupyter nbconvert --to script filename.ipynb
$ jupyter nbconvert --to script UtilLayers_renew.ipynb
- result
[NbConvertApp] Converting notebook UtilLayers_renew.ipynb to script
[NbConvertApp] Writing 4528 bytes to UtilLayers_renew.py
'Environment > Jupyter' 카테고리의 다른 글
set up jupyter lab environment from scratch (0) | 2022.11.09 |
---|