Use string-formatting for strings and don't use parentheses around if statements - this lookds better.