Hello, I have a list of datetime objects: DTlist, I have another single datetime object: dt, ... I need to find the nearest DTlist[i] to the dt .... is there a simple way to do this? There isn't necessarily an exact match...
Thanks! .john -- View this message in context: http://www.nabble.com/find-nearest-time-in-datetime-list-tp15180398p15180398.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list