Closed laurajauch closed 6 years ago
Resolves Issue #1
Does not work in Python 2 now, unfortunately. I think it will need to handle not having the past available to import in Python 2.
Traceback (most recent call last):
File "sword_to_json.py", line 2, in <module>
from past.builtins import xrange
ImportError: No module named past.builtins
Interesting. I didn't see that before. I added an explicit version check now.
Import support for python 3. Now compatible with both python 2 and 3.