顯示具有 ipython 標籤的文章。 顯示所有文章
顯示具有 ipython 標籤的文章。 顯示所有文章

2017年9月14日 星期四

some tips for Jupyter notebook [ipython notebook]

1. quick reference:  

 functional  quick reference :  shift+tab

 

2.autocomplete tips:   tab

  import grs

grs==>  will show  available  functions

 

3.profiling

@@ reference http://pynash.org/2013/03/06/timing-and-profiling/ 

%load_ext line_profiler

%load_ext memory_profiler

%lrun

2016年6月23日 星期四

[Mac] how to open Jupiter notebook (ipython notebook) by one click

1. Install a simple command tool ‘nbopen'

  GitHub: https://github.com/takluyver/nbopen

# pip install nbopen

 

2.Use Mac Automator  to make a simple Mac Application

a. open Automator to make a application, which will execute a shell script.  It will pass all file parameter as input parameter

b.for loop to execute nbopen   Jupiter notebook

#Please make sure you can find nbopen in your terminate, if you encounter problem, you can try to give a full path of nbopen ().

## Here is the example on my laptop
for f in "$@"
do
/usr/local/bin/nbopen "$f" &
doneNewImage

2013年4月9日 星期二

1. launch  ipython notebook

#ipython notebook

 

2.Create a new notebook

#from IPython.display import YouTubeVideo
#YouTubeVideo('o-sQ4nlPmVU', width=853, height=480)

 

NewImage

demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...