i heart this

return [alist for alist in listlists if alist.find(pattern) !=
-1]

it’s my favorite pythonism.

and remember… sed is your friend. no matter what he acts like.

  1. 1 Trackback(s)

  2. Jan 20, 2012: fight club torrent ipod

You must be logged in to post a comment.