python中os模块path.abspath()返回的并不是绝对值,而是个错误的不存在的拼接地址时间:2023-03-09 05:42:13 附截图: 当前路径: a=r'D:\PCsync\python\commands' 为绝对路径 遍历出来的4条应该是D:\PCsync\python\commands\commands.py.... 不知道哪里错误了,先记录下来。