Updated syntax to be more pythonic.

print ('\n rest of the print message') instead of print ('')
and 'if debug:' instead of 'if debug == True:'