This section summarises the changes required to convert wca-ipy from Python 2 to Python 3.
References:
print -> print()
/ -> //
eventsDict.has_key(inputRow[0]) -> inputRow[0] in eventsDict
urllib2 -> urllib
with open(fn, ‘rb’) -> with open(fn, ‘r’)
with open(fn, ‘wb’) -> with open(fn, ‘w’) csv.writer(f, quoting = csv.QUOTE_MINIMAL) -> csv.writer(f, quoting = csv.QUOTE_MINIMAL, lineterminator = os.linesep)