Copy files in folder up one directory in python

Posted by Aaron Hoffman on Stack Overflow See other posts from Stack Overflow or by Aaron Hoffman
Published on 2010-06-01T16:50:33Z Indexed on 2010/06/01 16:53 UTC
Read the original article Hit count: 189

Filed under:
|
|

I have a folder with a few files that I would like to copy one directory up (this folder also has some files that I don't want to copy). I know there is the os.chdir("..") command to move me to the directory. However, I'm not sure how to copy those files I need into this directory. Any help would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about python

Related posts about files