python.jupyter - k821209/pipelines GitHub Wiki

YOUTUBE๋„ฃ๊ธฐ

from IPython.lib.display import YouTubeVideo
YouTubeVideo('b_pTxGu2L04')

password ์„ค์ •๋ฐฉ๋ฒ•

http://goodtogreate.tistory.com/entry/IPython-Notebook-%EC%84%A4%EC%B9%98%EB%B0%A9%EB%B2%95

jupyter ์— LD_LIB_PATH ์•ˆ๋จน์„๋•Œ

https://github.com/jupyter/notebook/issues/1290

python3 kernel ๊น”๊ธฐ

pip3 install --upgrade setuptools pip # ์œ„์ ฏ ์—๋Ÿฐ์ง€ ๋จผ์ง€ ๋‚˜๋ฉด.
pip3 install jupyter
ipython3 kernelspec install-self

ํ˜„์žฌ python ๋ฒ„์ „์œผ๋กœ jupyter kernel ์‚ฌ์šฉํ•˜๋ ค๋ฉด

https://stackoverflow.com/questions/39007571/running-jupyter-with-multiple-python-and-ipython-paths

python -m ipykernel install

Install and run

$ screen -S ipnb
$ sudo pip install jupyter
$ sudo jupyter notebook --port 9999 --ip 147.46.xx.xx 
# ์›ํ•œ๋‹ค๋ฉด ๋Œ€์ƒ ๋””๋ ‰ํ† ๋ฆฌ๋„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. check 
$ jupyter notenook --help

SVG display

from IPython.display import SVG, display
filename='/ref/analysis/BAMVIS-GENE/release/Cre01.g005651.v5.5.bamvisgene.svg'
display(SVG(filename))