Hi guys
I am new to python ..
i was trying to move sequential images from a folder with multiple types of sequences in same folder like
a_bc_01.jpg
a_bc_02.jpg
a_bc_03.jpg
c_de_05.jpg
c_de_06.jpg
etc...
to different folders
import os, glob, os.path
import array
path = 'd:\del'
for file in glob.glob( os.path.join(path, '*.jpg') ):
(dirName, fileName) = os.path.split(file)
(fileBaseName, fileExtension)=os.path.splitext(fileName)
print fileBaseName
i can't put them into array and break the loop in between different sequence.
Thanks in advance.