ipython
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| ipython [2016/08/19 03:16] – [IPython Interpreter Embed 하기] rex8312 | ipython [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| ====== IPython ====== | ====== IPython ====== | ||
| - | ===== ipython notebook 기본 | + | ===== Autoreload ===== |
| + | |||
| + | %load_ext autoreload | ||
| + | %autoreload 2 | ||
| + | |||
| + | ===== ipython notebook 기본 | ||
| 변경을 원하는 profile의 ipython_notebook_config.py 수정(없으면 생성) | 변경을 원하는 profile의 ipython_notebook_config.py 수정(없으면 생성) | ||
| 줄 7: | 줄 12: | ||
| <code python ipython_notebook_config.py> | <code python ipython_notebook_config.py> | ||
| - | # sample ipython_config.py | ||
| c = get_config() | c = get_config() | ||
| - | # Subset of matplotlib rcParams that should be different for the inline backend. | + | # 외부에서 노트북 접속가능 |
| + | c.NotebookApp.ip = ' | ||
| + | |||
| + | # 기본 figure size 설정 | ||
| c.InlineBackend.rc = {' | c.InlineBackend.rc = {' | ||
| </ | </ | ||
| 줄 39: | 줄 46: | ||
| ... | ... | ||
| + | </ | ||
| + | |||
| + | ===== asyncio와 같이 사용 ===== | ||
| + | |||
| + | <code python> | ||
| + | %autoawait True | ||
| </ | </ | ||
ipython.1471576602.txt.gz · 마지막으로 수정됨: (바깥 편집)