Python的一些常用方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_30843221/article/details/74936508

python遍历文件夹下的路径

import os
for path, dirnames, filenames in os.walk(filepath)

python中shell命令执行

os.system(shell)

待续增添

猜你喜欢

转载自blog.csdn.net/qq_30843221/article/details/74936508
今日推荐