# -*- coding:UTF-8 -*- # author: # contact: # datetime: # software: PyCharm """ 文件说明: 打印工程目录文件,参考链接: https://blog.csdn.net/albertsh/article/details/77886876 """ import os import os.path def dfs_showdir(path, depth): if depth == 0: print("root:[" + path + "]") …

2024年4月11日 169点热度 xxs9527 阅读全文