Python Forum

Full Version: Copying Folders From List in excel file and Pasting in New Location?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,

I'm fairly new to coding with Python. I have an excel file that has a list of folder locations in column A and the destination folder in column B. I will like the code to loop through column A and copy the folders to the locations in column B. I'm not sure where to even start here. I've been Googling but I haven't found anything.

Thanks!
For reading the excel file
http://www.python-excel.org/

For copying the files
https://docs.python.org/3/library/shutil.html
Thanks Yoriz!