Gerardo Herzig wrote: [...] > and so on...what i need to do is some list comprehension that returns me > something like [...]
You don't _need_ a list comprehension, you just _want_ one :) [...] > Ill keeping blew off my hair and drinking more cofee while searching for > this damn onliner im looking for. I know, trying to put complex logic in one line makes you do all that. Go for the multiliner! -- Roberto Bonvallet -- http://mail.python.org/mailman/listinfo/python-list