e14174a Modernize Python 2 code to get ready for Python 3

7 files Authored by cclauss 5 years ago, Committed by pingou 5 years ago,
    Modernize Python 2 code to get ready for Python 3
    
    * Use __print()__ function in both Python 2 and Python 3
        * __print()__ is a function in Python 3.
    * Old style exceptions --> new style in Python 3
        * Python 3 treats old style exceptions as syntax errors but new style exceptions work as expected in both Python 2 and Python 3.
    
        
file modified
+6 -5
file modified
+10 -10
file modified
+1 -1
file modified
+2 -1
file modified
+2 -1