python count directories recursion

前端 未结 0 557
南笙
南笙 2020-12-13 05:39

Just I want to ask is this true in recursion and how to avoid the error

import os
def dirNum(drive):
    dirCount=0
    for arr in os.listdir(drive):
                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题