python code not working for datetime and if statements :     import datetime
    import csv

    format = "%H%M"
    today = datetime.datetime.today()
    s = today.strftime(format)

    print s

    if s == 1029:
	    print ("Good")
    else:
	    print ("Bad")

why doesn't this code work? it just prints 's' and "bad"
Please