Closed sergii-bond closed 3 years ago
please check Sean's comment https://github.com/Cogniac/cogniac-sdk-py/issues/89#issuecomment-812089425, using 'six' library is another way. We also have dict iteritems() in app.py which in python3 is replaced by items(), 'six' library claims to address that as well.
six does seem to popular for dealing with these cases; lets go with the six approach
I'll let Sean make a pull request with six, he is working on that.
resolve #89
Didn't find any other way than by checking python version.