[BioPython] Question about glob

Andrew Nunberg anunberg at oriongenomics.com
Thu Feb 5 11:07:21 EST 2004


Hey, a non-biopython question...
When I use glob the list is sorted by time.  Is there a way to have glob
return an ascii sorted list?

I wanted to use this in conjuction with sorting some ace files and wanted to
just take the ace file the the largest version number eg ...ace.5

If I touch ace.3 and then ace.2 that is the same order I get them if I
glob.glob(Œace.*¹)

Any thoughts?
Thanks
Andy
-- 
Andrew Nunberg
Bioinformagician
Orion Genomics
(314)-615-6989
www.oriongenomics.com




More information about the BioPython mailing list