Python 找出相同文件名前缀的文件并存储到对应文件夹 import os, shutil, glob #Source file sourcefile = './' # for loop then I split the names of the image then making new folder for file_path in glob.glob(os.path.join(sourcefile, '*.c*')):