[BioPython] Question about glob

Andrew Nunberg anunberg at oriongenomics.com
Thu Feb 5 11:55:36 EST 2004


Sorry,
My bad, someone pointed out to just do a .sort() on the list

I am just a little frantic, I need to get some of this done ASAP and having
some trouble...

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


> From: Andrew Nunberg <anunberg at oriongenomics.com>
> Date: Thu, 05 Feb 2004 10:07:21 -0600
> To: <biopython at biopython.org>
> Subject: [BioPython] Question about glob
> 
> 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
> 
> 
> 
> _______________________________________________
> BioPython mailing list  -  BioPython at biopython.org
> http://biopython.org/mailman/listinfo/biopython
> 




More information about the BioPython mailing list