Python renames files
import os
srcFile ='./actwork/linkFile/allExtLinks -Copy.txt'
dstFile ='./actwork/linkFile/allExtLinks - copy.txt'try:
os.rename(srcFile,dstFile)
except Exception as e:print(e)print('rename file fail\r\n')else:print('rename file success\r\n')
***Undertake programming in Matlab, Python and C++, machine learning, computer vision theory implementation and guidance, both undergraduate and master's degree, salted fish trading, professional answers please go to know, please contact QQ number 757160542, if you are the one ***