Apr-22-2017, 08:11 AM
from glob import glob file_exts = ['*.doc', '*.ppt'] for ext in file_ext: print(glob(ext))glob.glob(pattern) will return a list of matched file names
I am trying to copy files into a bunch of folders.
|
|
Messages In This Thread |
I am trying to copy files into a bunch of folders. - by tannishpage - Apr-22-2017, 03:19 AM
RE: I am trying to copy files into a bunch of folders. - by wavic - Apr-22-2017, 08:11 AM
RE: I am trying to copy files into a bunch of folders. - by snippsat - Apr-22-2017, 08:40 AM
RE: I am trying to copy files into a bunch of folders. - by ichabod801 - Apr-22-2017, 10:35 AM
RE: I am trying to copy files into a bunch of folders. - by tannishpage - Apr-22-2017, 09:36 PM
|