Python Datetime sans secondes

# Stripping off the seconds in datetime python
dt = datetime.now()
dt = dt.replace(second=0, microsecond=0)
# faster
dt = datetime.now().replace( second= 0, microsecond= 0 )
Marc Tolkmitt