Copying recursively files in Python
<p>I was looking to copy a whole directory and its files but also printing each file name that its being copied.</p>

<p>I was using a simply call to <code>cp -rf dir dest</code> with <code>os.system</code> but I cant print each filename separately as obvious.</p>

<p>I then thought about listing eash directory file by calling recursively ls with <code>os.system</code>, saving the whole string, split them on an array, and implement a for loop to run os.system("cp " file1 + " des/") and printing the filename, but it looks like lot of work. </p>

<p>Any better ideas to accomplish this?</p>
