datefinder icon indicating copy to clipboard operation
datefinder copied to clipboard

Python 3.6.5: Error no attribute 'find_dates'

Open royxss opened this issue 7 years ago • 2 comments
trafficstars

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

royxss avatar Jul 25 '18 17:07 royxss

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

gowtham1997 avatar Aug 10 '18 18:08 gowtham1997

Have you tried using:

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

for match in matches:
    print(match)

?

jsenecal avatar Nov 07 '18 21:11 jsenecal