728x90
** 윈도우에서 변환할때 python -m ipython nbconvert --to script *.ipynb로 하면됌
Install ipython libraries (Of course, you can skip if already installed.)
> pip install ipython
> pip install nbconvert
Convert single file
> ipython nbconvert — to script abc.ipynb
You can have abc.py
Convert multi files
> ipython nbconvert — to script abc.ipynb def.ipynb
abc.py, def.py
> ipython nbconvert — to script *.ipynb
abc.py, def.py
https://medium.com/@researchplex/the-easiest-way-to-convert-jupyter-ipynb-to-python-py-912e39f16917
728x90
'IT > Python' 카테고리의 다른 글
[Python] 라즈베리파이(리눅스)에 PyQt, Qt Designer 설치 (0) | 2021.07.06 |
---|---|
[Python] Hex <-> Float, Double, Ascii, Decimal 변환 (0) | 2021.05.12 |
[파이썬] pyCharm에서 pip로 라이브러리 연결하기 (0) | 2021.02.24 |
[Python] matplotlib으로 그래프 그리기 (0) | 2021.02.02 |
[Python] MQTT 통신 (0) | 2021.02.02 |
댓글