Feb-01-2023, 01:30 PM
hi sorry for my bad English,
i have this code:
the result data are
1. cannot be deleted or renamed,
2. full size as raw size,
3. you can copy it to another folder or drive, but the result is the same as Number 1.
my question is:
A. is the data recoverable? if it is, how?
B. can this "shutil" package caretaker update so the next version of somebody else not have a case like mine?
i have this code:
SaveAs = "new folder name that contains illegal character !@#$%^&*" #SaveAs = re.sub(r'[^\w]', ' ', SaveAs)# I learn it in a hard way print("SaveAs : " + SaveAs) if not os.path.exists(SaveAs): os.mkdir(SaveAs) shutil.move(file,SaveAs+"\\")if that certain case
the result data are
1. cannot be deleted or renamed,
2. full size as raw size,
3. you can copy it to another folder or drive, but the result is the same as Number 1.
my question is:
A. is the data recoverable? if it is, how?
B. can this "shutil" package caretaker update so the next version of somebody else not have a case like mine?