- Hands-On Data Science with Anaconda
- Dr. Yuxing Yan James Yan
- 161字
- 2021-06-25 21:08:46
Using Python via Jupyter
Here, we show you how to write simple Python code via Jupyter:
- From the menu, after clicking Anaconda, we can find an entry called Jupyter Notebook. After clicking on that entry, we can see the following:

- If we click New on the right-hand side, we can find several choices. After we choose Python 3, we end up with the following starting file:

- We can now type our Python commands in the box. Remember to press Shift + Enter if you want to execute the command (shown here):

- We can also type multiple commands and execute them, as shown here:

The colorful and distinct treatment of keywords, parentheses, and values makes our programming a little easier.
We could save our programs by choosing File|Save and Checkpoint on the menu bar. Similarly, we could load our presaved programs by choosing File|Revert to Checkpoint directly from the menu bar or finding it under Files in the Jupyter home page.
推薦閱讀
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- 嵌入式系統及其開發應用
- Circos Data Visualization How-to
- Hands-On Artificial Intelligence on Amazon Web Services
- 人工免疫算法改進及其應用
- Windows XP中文版應用基礎
- Matplotlib 3.0 Cookbook
- MicroPython Projects
- Spark大數據技術與應用
- 悟透AutoCAD 2009完全自學手冊
- RedHat Linux用戶基礎
- 新編計算機圖形學
- Extending Ansible
- Excel 2010函數與公式速查手冊
- R Data Analysis Projects