有关pythonrun的精选大全

pythonrun怎么改名字
首先获得工作路径importosworkpath=wd()拼接获取和的绝对路径src=(wd(),&#&#39)dst=(wd(),&#&#39)使用rename函数try:me(src,dst)exceptExceptionase:print(e)print(&#39renamefilefailrn&#39)else:print(&#39renamefile...
热门标签