Current Date Function In Python Syntax Error