Python code to search file for certain extension | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Python code to search file for certain extension

Total noob here. Need code to search a simple directory of files and print only those with .exe extensions.

2nd Feb 2018, 9:42 PM
alexhurley
1 Antwort
+ 5
You can check my solution: (just remove the 'py' element from ext, I used it as a check-up so it shows something on SL) https://code.sololearn.com/cDRaDljmRnP1/?ref=app
2nd Feb 2018, 11:25 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar