Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if date:
- func = lambda x: date == datetime.date(int(x[:4]), int(x[4:6]), int(x[6:]))
- matches = list(filter(lambda x: func(re.search("_([^_]*)_", x).group(1)), matches))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement