官术网_书友最值得收藏!

Using Python via Jupyter

Here, we show you how to write simple Python code via Jupyter:

  1. From the menu, after clicking Anaconda, we can find an entry called Jupyter Notebook. After clicking on that entry, we can see the following:
  1. 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:
  1. We can now type our Python commands in the box. Remember to press Shift + Enter if you want to execute the command (shown here):
  1. 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.

主站蜘蛛池模板: 大宁县| 缙云县| 邻水| 栖霞市| 彰化县| 瑞金市| 岚皋县| 普兰店市| 武安市| 新化县| 禄丰县| 鹿邑县| 顺义区| 榆中县| 拜城县| 桐城市| 兰西县| 台北市| 黄陵县| 白水县| 横峰县| 嘉善县| 克山县| 上饶市| 彭水| 东方市| 平原县| 庆城县| 乌拉特后旗| 南宫市| 义马市| 甘孜| 南靖县| 抚宁县| 剑川县| 偏关县| 清流县| 富平县| 赫章县| 邯郸市| 泽州县|