
上QQ阅读APP看书,第一时间看更新
2.4.2 利用Python Notebook编写Python程序
单击“新建”按钮,新建一个Python3的Notebook,然后命名为Python2-2,并输入以下代码:

单击按钮,程序运行结果如图2.34所示。

图2.34 获得汽车制造业指数的所有股票代码
单击“新建”按钮,新建一个Python3的Notebook,然后命名为Python2-3,并输入以下代码:

单击按钮,程序运行结果如图2.35所示。

图2.35 限售解禁股数据
学习心得
__________