Advertisement
Guest User

Gross

a guest
Feb 25th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. if date:
  2.     func = lambda x: date == datetime.date(int(x[:4]), int(x[4:6]), int(x[6:]))
  3.     matches = list(filter(lambda x: func(re.search("_([^_]*)_", x).group(1)), matches))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement