标签:contents asp imp else blank import lse eid 同步
import os
def print_directory_contents(sPath):
for sChild in os.listdir(sPath):
sChildPath = os.path.join(sPath, sChild)
if os.path.isdir(sChildPath):
print_directory_contents(sChildPath)
else:
print(sChildPath)
print_directory_contents(‘F:\\GZ\\mxgController‘)
本文首发于python黑洞网,博客园同步更新
标签:contents asp imp else blank import lse eid 同步
原文地址:https://www.cnblogs.com/pythonzhilian/p/12610781.html