I Think I May Never See...

Feb 02, 2010 13:56

So in python, if you want to copy a file, you can use a function called shutil.copyfile()

But if you want to copy a directory, you use a function called shutil.copytree()

Although this explains how I just spent serious time trying to figure out why python was telling me that there was no such function as shutil.copydir(), I have to ask: How does that make any sense?

work, programming fail, computers

Previous post Next post
Up