How can we extract all the music files from our computer and store in a particular folder through python coding. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can we extract all the music files from our computer and store in a particular folder through python coding.

Project work

27th Aug 2016, 5:25 AM
samridhi
samridhi - avatar
2 Answers
+ 1
What do you mean by that ? Is extracting only copying all these files to the folder, or moving them ? Anyway, you should be able to do it by walking through the file system with os.walk() and checking for all the file types you want
30th Aug 2016, 9:56 PM
Amaras A
Amaras A - avatar
0
Copying and pasting in the other new folder created in python all the . Jpg files for eg.
31st Aug 2016, 2:04 AM
samridhi
samridhi - avatar