import os
with os.scandir(r"C:\Users\macname\Desktop") as it:
    for entry in it:
        if entry.name.startswith('Auto') and entry.is_file():
            print(entry.name)

 

相关文章:

  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-11-07
  • 2022-12-23
相关资源
相似解决方案