Code:
import shutil
files = os.listdir("C:\\")
for efile in files:
shutil.copy(efile, "D:\\")
Python converted these characters into question marks "????" when it got the list from os.listdir, and the copy process raised an exception...
Any solution?!
Thanks in advance...
Comment