This is to help with issue #51. Will not help in the case of python 2 or older python 3 version < 3.6.