mercredi 29 août 2018

python copying the files with include pattern

I need to copy the files with include pattern using python script. Since shutil supports ignore_patterns to ignore the file. Is there any method to include the pattern to copy the files. Otherwise do I have to write the code explicitly?.

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire