def datetime_to_timestamp(dt):
    delta = dt - datetime.utcfromtimestamp(0)
    return delta.seconds + delta.days * 24 * 3600
Set the pixmaps to use during the transition.
dataset/ETHPy150Open docker/docker-py/docker/utils/utils.py/datetime_to_timestamp--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/q_pixmap_transition.py/QPixmapTransition.setPixmaps