How to create Program that search and copy files | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create Program that search and copy files

Hi Everyone. Im trying to create some program to help me at my work, Basically what needs to be done is that l want to upload a .txt file which has a list of numbers within... I then want the program to search for those items on a specific drive... Copy the files that matches the list on the .txt file into a separate folder. It should also give me a report of the "match found" items aswell as the "no match" items. PLEASE CAN ANYONE GIVE ADVICE ON HOW AND WHERE TO BEGIN. THANK YOU IN ADVANCE.

11th Sep 2016, 6:10 PM
Rashly Prins
Rashly Prins - avatar
2 Answers
+ 2
gfosu1997@gmail.com Let's talk.
11th Sep 2016, 9:09 PM
Gershon Fosu
Gershon Fosu - avatar
0
did you tried os.walk() ?
11th Sep 2016, 6:23 PM
deepika girdhar
deepika girdhar - avatar