import os
def s(path):
    file_list=os.listdir(path)
    for file in file_list:
        print(os.path.realpath(file))

输出

s("/Users/xiangyong/PycharmProjects/11-13")

 

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
  • 2021-08-21
  • 2022-03-09
猜你喜欢
  • 2021-12-18
  • 2022-02-11
  • 2021-05-19
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2019-01-24
相关资源
相似解决方案