Lines of Strings

Larry Bates larry.bates at websafe.com
Fri Sep 16 17:26:38 CEST 2005


If these were the lines what would the output look like?
>From your example it doesn't appear that any of the lines
would be eliminated.

Larry Bates

Reem Mohammed wrote:
> Hi
> 
> Suppose we have data file like this one (Consider all lines as strings )
> 
> 1 2 3 3 4 4 4 4 5 6
> 2 2 2 5 5 5 6
> 3 2 1 1 1 3 3 3 4 6
> 
> I would like to remove line if its belong to another one, and will be
> able to do this if longer line come after a short one.
> 
> Thanks
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 




More information about the Python-list mailing list