You can find a more developed copy of this code at https://github.com/eoyilmaz/displaycal-py3
This is a project intended to (attempt to) modernize the DisplayCAL code for use with Python 3. It was started as it appears that the DisplayCAL author is not interested in or motivated to do so (Python 3 support has been a known issue with DisplayCAL for more than two years now).
Python is by no means my favorite language nor one that I write very frequently. If more experienced python users see anything that looks like it could be improved, please feel free to open a PR.