摘要: renames源码:def renames(old, new): head, tail = path.split(new) # 作用是分割为两部分,head为路径,tail为文件名; if head and tail and not path.exists(head): # path.exists( 阅读全文