i am working on copying files between two disk drives that is from D drive to E drive , but when using shutil.copy2 and shutil.move am getting error like :
The system cannot move the file to a different disk drive:
and this is code i used :
file = "D:Ask"
dst = "E:Ask"
shutil.copy2(file, dst)
Platform : Windows
Python Version : Python 3.8.5
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…