+ 1

I want to sort files by the extensions but I can't find code that will help me... ?

all I want is a package can control or use files extensions

19th Feb 2020, 2:12 AM
Alex
1 Resposta
+ 4
1. Use the os module to get the all the files and directories, and store them in a list. 2. Create a new list that only contains file extensions. 3. Sort the list of extensions.
19th Feb 2020, 2:23 AM
Aymane Boukrouh
Aymane Boukrouh - avatar