vscode, colab) ipynb 파일을 html 파일로 바꾸기

2022. 1. 31. 20:34꿀팁 분석 환경 설정/파이썬 개발 팁

728x90

vscode 안에서 ipynb에서 html로 바꾸기 위해서는 아래와 같은 명령어로 사용해야 한다.

 

terminal 

jupyter nbconvert --to html /Your notebook path/file.ipynb

 

google colabe에서도 동일하다.

%%shell
jupyter nbconvert --to html /Your notebook path/file.ipynb

 

 

https://python.plainenglish.io/how-to-convert-google-colab-notebook-ipynb-to-html-ccfeda199246

 

How to Convert a Google Colab (.ipynb) Notebook to HTML

Often, we need to share our code explanations written in a Google colab Jupyter notebook (.py or .ipynb files) with our friends and bosses.

python.plainenglish.io

 

728x90