import glob
# path_file_number=glob.glob('D:/case/test/testcase/checkdata/*.py')#或者指定文件下个数
path_file_number=glob.glob(pathname='*.py') #获取当前文件夹下个数
print(path_file_number)
print(len(path_file_number))

 

相关文章:

  • 2021-06-15
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-06
  • 2022-12-23
  • 2021-06-18
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案