- 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.
推薦閱讀
- 基于C語言的程序設計
- Hands-On Internet of Things with MQTT
- 人工免疫算法改進及其應用
- Drupal 7 Multilingual Sites
- Mobile DevOps
- ServiceNow Cookbook
- Multimedia Programming with Pure Data
- Spark大數據技術與應用
- Silverlight 2完美征程
- 寒江獨釣:Windows內核安全編程
- 步步驚“芯”
- 樂高創意機器人教程(中級 上冊 10~16歲) (青少年iCAN+創新創意實踐指導叢書)
- Raspberry Pi Projects for Kids
- 西門子S7-1200/1500 PLC從入門到精通
- 智能小車機器人制作大全(第2版)