Python IDE安裝_Jupyter Notebook與Rstudio
LHB阿好伯, 2020/02/09
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Anaconda下載官網下載所需檔案,作業系統有Windows,macOS和Linux的Anaconda版本,接下來再選擇Python 的版本以及選擇電腦是32或64位元版本,可以根據自己所需或使用當時最新版本情況做不同選擇。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
安裝過程中需添加PATH
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
安裝後選取Andaconda
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
初學推薦使用Jupyter Notebook
進階推薦使用VS Code
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
接下來介紹會以Jupyter Notebook為主要IED
建立一個新的Python檔案
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
點選上方名稱就可以快速修改檔名
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
常用快捷鍵
快捷鍵 |
作用 |
補充 |
Enter |
轉入編輯模式 |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
|
|
|
|
Shift-Enter |
運行本單元,選中下個單元 |
新單元默認為命令模式
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
|
|
|
|
Ctrl-Enter |
運行本單元 |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
|
|
|
|
Alt-Enter |
運行本單元,在其下插入新單元 |
新單元默認為編輯模式
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
|
|
|
|
M |
單元轉入markdown 狀態 |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
|
Y |
單元轉入代碼狀態 |
單元由Markdown狀態變回代碼狀態 |
更多快捷鍵可以參考Jupyter NoteBook 的快捷键使用指南
另外推薦Rstudio IED
RStudio產品在過去一年中越來越支持Python
RStudio曾在2019過去兩年中對使用或打算使用R的人們進行的調查指出
2,000多名受訪者中有近1100位受訪者表示他們也會使用Python
R的最常見用於可視化和統計分析
數據轉換和機器學則是Python最常見的功能
所以結論RStudio應該(並且確實)支持R和Python
簡單的使用過RStudio編寫Python後的體驗相當程度來說非常好
這也是我繼續使用RStudio編寫Python的原因
並不需要為了學習Python而改變IED
若是有興趣投入Rstudio的懷抱可以參考下面文章
https://hackmd.io/@LHB-0222/Rstudio
參考文章
https://blog.rstudio.com/2020/10/30/why-rstudio-supports-python/
https://blog.rstudio.com/2020/11/17/an-interview-with-lou-bajuk/
全文分享至
https://www.facebook.com/LHB0222/
有疑問想討論的都歡迎於下方留言
喜歡的幫我分享給所有的朋友 \o/
有所錯誤歡迎指教
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →