I wrote the following code to copy files from different subdirectories to one folder but getting an error. Can anyone help me please?
import os import shutil