print '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year, now.hour, now.minute, now.second). getting error for the above code
You have two spaces in the format specifier. The instructions include the following ...
Print the date and time together in the form:
In the specified form, there is only one space between the date and the time.
Exactly as the above member said.