我需要使用python获取文件夹的最新文件.使用代码时:
max(files, key = os.path.getctime)
我收到以下错误:
FileNotFoundError:[WinError 2]系统找不到指定的文件:'a'
python python-2.7 python-3.x
python ×1
python-2.7 ×1
python-3.x ×1