vendredi 27 mars 2015

Python: How can i find a directory that matches the first 3 characters from a string?

I have a directory with 50+ directories inside which are named "XXX - something"


If i have X = '123' How can i find the directory that starts with '123'?


Thanks!


Aucun commentaire:

Enregistrer un commentaire