Peter Otten added the comment: Read the documentation of os.walk() again. It already walks the complete directory tree starting with src.
When you invoke it again by calling your copy_dir() method recursively you will of course see once more the files and directories in the respective subdirectory. ---------- nosy: +peter.otten _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31214> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com