Python: shutil.copytree , lack of ignore arg in python 2.5
-
29-09-2019 - |
Pergunta
Short of essentially rewriting copytree to accept an ignore callback, what is a simple way to achieve this in versions prior to python 2.6? (I don't want to stray from my debian packages)
Solução
You can copy the source for copytree
from the 2.6 tree, and put it into your project's source tree.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow