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.
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 Trackback(s)
You must be logged in to post a comment.