Python: shutil.copytree , lack of ignore arg in python 2.5
-
29-09-2019 - |
Question
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)
Solution
You can copy the source for copytree
from the 2.6 tree, and put it into your project's source tree.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow