danalwyn: (Default)
[personal profile] danalwyn
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?
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

danalwyn: (Default)
danalwyn

November 2017

S M T W T F S
   1234
567891011
12131415161718
192021 22232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags