Partial directory search question

chad cdalten at gmail.com
Tue Sep 29 22:09:16 EDT 2009


I have a directory that contains the following

login
rc
sum
_1
_2
_3
_4

What's the sanest way to print out all the files in the directory that
start with the underscore? Ie, I just want to list _1, _2, _3, _4.



More information about the Python-list mailing list