第一次使用,需要pip3 安装,才能Python调用它:
sudo pip3 install scandir
然后在Python代码里面写:
try: from os import scandir #Python3.5 except ImportError: from scandir import scandir作用:
第一次使用,需要pip3 安装,才能Python调用它:
sudo pip3 install scandir
然后在Python代码里面写:
try: from os import scandir #Python3.5 except ImportError: from scandir import scandir作用: