-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Seems library not 100% python3 compatible. When I'm tying to run simple code:
import doc2text
doc = doc2text.Document()
doc = doc2text.Document(lang="eng")
doc.read('pdf-sample.pdf')
I'm getting
Traceback (most recent call last):
File "doc2text_test.py", line 13, in <module>
doc.read('pdf-sample.pdf')
File "/usr/local/lib/python3.5/dist-packages/doc2text/__init__.py", line 44, in read
for i in xrange(self.num_pages):
NameError: name 'xrange' is not defined
tomByrer and RandomAnass
Metadata
Metadata
Assignees
Labels
No labels