copying specific files from directory to directory python code example
Example: Copy any files from one folder to another folder in python
import shutil
import os
os.chdir('source_image_dir_path')
dst_dir = "your_destination_dir_path"
for f in os.listdir():
shutil.copy(f, dst_dir)