導言
想打造輪子, 就必須要有一套完善的造輪子的工具. 我在jupyter+sciTE的組合里轉來轉去, 最后還是打算放棄這個組合, 因為離開了自動完成/調用提示/隨時隨地的訪問文檔幫助, 前行之路太困難, 即便是有很好的記性也是枉然. IDE不僅僅是代碼編輯的舞台, 它需要的是幫助/查看變量/測試/調試/控制台等一系列工具的組合, 可以說應該是諸多工具物種有機地構成的一個生態系統, 就應該像是一片豐富的熱帶雨林一樣, 起初走進去會讓你迷失方向, 慢慢地熟悉了環境, 那就是天堂. 所以Spyder, 俺又回來了. 很湊巧的是"spyder"的英文原意是蜘蛛, 而這里的"spyder"是"科學+Python語言+開發環境", 可見他還是個雙關語呢!

Spyder簡述
Spyder是一個用於科學計算的使用Python編程語言的集成開發環境. 與其相伴是一個編輯器(寫代碼), 一個控制台(執行代碼/查看結果), 一個對象瀏覽器(用來查看代碼執行期間被定義的變量), 還有其它的一些工具, 幫助科學家高效地開發應用程序.
Spyder的口號是: 輕盈 直觀 簡單 強大
Spyder里的主要工具
-
編輯器
-
控制台 Console
-
變量瀏覽器 Variable Explorer
-
對象查看其 Object Inspector
-
其它的特色
-
History Log 歷史日志
-
Array Editor 數組編輯
-
在線幫助 Online Help
瀏覽已安裝的模塊的動態文檔 -
工程瀏覽器 Project Explorer
管理大型工程() -
Pylint集成
分析源代碼的漏洞和低品質代碼的符號 -
個性定制
-
Spyder 快捷鍵:
注:前加“*”號的為Mac電腦專用:
| Spyder快捷鍵 |
|---|
| blockcomment |
| breakpoint |
| close all |
| code completion |
| conditional breakpoint |
| configure |
| copy |
copy line |
| cut |
| debug |
| debug with winpdb |
| delete |
delete line |
duplicate line |
| end of document |
| end of line |
| find next |
| fine previous |
| find text |
| go to definition |
| go to line |
| go to next file |
| go to previous file |
| inspect current object |
| *kill next word |
| *kill previous word |
| *kill to line end |
| *kill to line start |
| last edit location |
move line down |
move line up |
| new file |
| *next char |
| next cursor position |
| *next line |
| *next word |
| open file |
| paste |
| *previous char |
| previous cursor position |
| *previous line |
| *previous word |
| re-run last script |
| redo |
| replace text |
| *rotate kill ring |
| run |
| run selection |
| save all |
| save as |
| save file |
| select all |
| show/hide outline |
| show/hide project explorer |
| start of document |
| *start of line |
| toggle comment |
| unblockcomment |
| undo |
| *yank |
| run profiler |
| run analysis |
來源: Spyder快捷鍵_Python_第七城市 http://www.th7.cn/Program/Python/201604/818977.shtml
Ctrl+i 快捷鍵: 發送python對象到Object Inspector
New IPython Console (Spyder 2.2+): Add Ctrl+I keyboard shortcut to send an object the Object Inspector · Issue #1058 · spyder-ide/spyder · GitHub https://github.com/spyder-ide/spyder/issues/1058
關於Spyder的一個黑客討論貼子
Spyder – Scientific Python Development Environment | Hacker News https://news.ycombinator.com/item?id=6622156
