摘要:
#递归实现文件的遍历 import os def func(path,ceng=0): name_list=os.listdir(path) #查看路径下所有文件 for name in name_list: path_abs=os.path.join(path,name) #拼接路径 if os.path.isdir(path_abs... 阅读全文
摘要:
bodies = {}#存放所有数据 def panDuanHeFa(height,weight):#判断身高体重输入是否合法的函数 if '.' in height and '.' in weight: a, b = height.split('.') c, d = weight.split('.') if a.isdigit() an... 阅读全文