making output of datefinder into list
问题 import datefinder import pandas as pd s = "entries are due by January 4th, 2017 at 8:00pm. created 01/15/2005 by ACME Inc. and associates. here Dec. 24th, 1981 at 6pm." match = datefinder.find_dates(s) for m in match: print(m) 2017-01-04 20:00:00 2005-01-15 00:00:00 1981-12-24 18:00:00 The above works using datefinder to find dates in string. For example, January 4th, 2017 at 8:00pm is grabbed from s and is converted into 2017-01-04 20:00:00 . Now I simply want to get the output print(m) and