Re: [Tutor] sorting file paths made up of of strings and numbers

2009-04-15 Thread عماد نوفل
On Tue, Apr 14, 2009 at 10:36 PM, Bill Campbell wrote: > On Tue, Apr 14, 2009, Emad Nawfal ( ) wrote: > > > > Hi tutors, > > How can I sort the following list in a way that takes care of the > > right order of numbers? The sorted function compares strings here as > > far as I can

Re: [Tutor] sorting file paths made up of of strings and numbers

2009-04-14 Thread Bill Campbell
On Tue, Apr 14, 2009, Emad Nawfal ( ) wrote: > > Hi tutors, > How can I sort the following list in a way that takes care of the > right order of numbers? The sorted function compares strings here as > far as I can see, but I want to have filepath2 follow filepath1. Your > help is

Re: [Tutor] sorting file paths made up of of strings and numbers

2009-04-14 Thread Kent Johnson
2009/4/14 Emad Nawfal (عماد نوفل) : > Hi tutors, > How can I sort the following list in a way that takes care of the right > order of numbers? The sorted function compares strings here as far as I can > see, but I want to have filepath2 follow filepath1. Your help is > appreciated. myList > ['

Re: [Tutor] sorting file paths made up of of strings and numbers

2009-04-14 Thread عماد نوفل
On Tue, Apr 14, 2009 at 8:10 PM, wesley chun wrote: > > How can I sort the following list in a way that takes care of the right > > order of numbers? The sorted function compares strings here as far as I > can > > see, but I want to have filepath2 follow filepath1. Your help is > > appreciated. >

Re: [Tutor] sorting file paths made up of of strings and numbers

2009-04-14 Thread wesley chun
> How can I sort the following list in a way that takes care of the right > order of numbers? The sorted function compares strings here as far as I can > see, but I want to have filepath2 follow filepath1. Your help is > appreciated. myList > ['filepath54', 'filepath25', 'filepath49', 'filepat

[Tutor] sorting file paths made up of of strings and numbers

2009-04-14 Thread عماد نوفل
Hi tutors, How can I sort the following list in a way that takes care of the right order of numbers? The sorted function compares strings here as far as I can see, but I want to have filepath2 follow filepath1. Your help is appreciated. >>> myList ['filepath54', 'filepath25', 'filepath49', 'filepat