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

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.

主站蜘蛛池模板: 新平| 叙永县| 比如县| 张北县| 河南省| 潢川县| 永年县| 夏津县| 卓尼县| 南和县| 武陟县| 太保市| 青浦区| 荆州市| 水城县| 堆龙德庆县| 昌吉市| 泸水县| 婺源县| 类乌齐县| 枝江市| 德令哈市| 永康市| 且末县| 呈贡县| 吉安县| 景宁| 黎城县| 乡宁县| 五华县| 绥棱县| 方城县| 岳西县| 诏安县| 资兴市| 株洲市| 金塔县| 淳安县| 嘉黎县| 青阳县| 南江县|