akoumjian / datefinder

Find dates inside text using Python and get back datetime objects
http://datefinder.readthedocs.org/en/latest/
MIT License
634 stars 166 forks source link

Python 3.6.5: Error no attribute 'find_dates' #86

Open royxss opened 6 years ago

royxss commented 6 years ago

AttributeError: module 'datefinder' has no attribute 'find_dates' OS: Ubuntu 18 Python: 3.6.5

gowtham1997 commented 6 years ago

I'm getting the same error using python3 but works fine on python 2

jsenecal commented 5 years ago

Have you tried using:

import datefinder
df = datefinder.DateFinder()
matches = df.find_dates(a_string)

for match in matches:
    print(match)

?