手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

python collections怎么安装

时间:2024-10-14 00:20:30

1、在开始菜单输入IDLE。

python collections怎么安装

2、右键点击IDLE,然后找到文档的位置打开。

python collections怎么安装

3、这里就能看到自带的默认模块。这个时候我们就看到collections这个模块。

python collections怎么安装
python collections怎么安装

4、我们打开IDLE,然后输入import collections,没有报错,因为已经默认有了。

python collections怎么安装
python collections怎么安装

5、collections里的Counter是经常会用到的,我们查看是否能使用。

python collections怎么安装

6、我们棵褶佐峨还可以在cmd模式下进入python,然后输入import collections,也是没有问题可以使用的。

python collections怎么安装
python collections怎么安装
© 手抄报圈