I need your opinion...

logan tag logantag at gmail.com
Mon Dec 21 11:23:07 EST 2009


It should be interesting to add new funcionality to "copytree" function into
a "shutil.py" module?, I mean...I have developed a very silly function
"copytree" with a different fourth argument. I have modified the "ignore"
parameter to "target" parameter; this new one is used to copy the files wich
matched with the given pattern.
Basically, the opposite of the current "copytree".

Maybe were a stupid idea but I throw it anyway.

Thanks in advance.

Logan!!

PS:
def copytree(src, dst, symlinks=False, target=None)
def target_patterns(*patterns)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091221/1ed54458/attachment-0001.html>


More information about the Python-list mailing list