Wikidata / SQID

A tool to analyse, browse and query Wikidata
http://tools.wmflabs.org/sqid/
Apache License 2.0
84 stars 17 forks source link

Make dataUpdate py2/py3 compatible (and a bit more intuitive to use) #117

Closed mmarx closed 7 years ago

mmarx commented 7 years ago

Use print_function to stay compatible with Python 3. Handle non-existing data files gracefully. Try to be clever if someone runs python helpers/python/dataUpdate.py and chdir to the correct directory.