如何让 python 以 hh:mm:ss 格式获取数据时间并将其存储在数组中?

How can i make python take a data time in format hh:mm:ss and store it in an array?

我有一个包含多列的 csv 文件列表。 有一个以这种格式包含我的测试长度 hh:mm:ss 我需要根据长度将这些数据分成两个数据库:<00:16:00 或 >00:16:00 我怎样才能做到这一点? 感谢您的帮助,抱歉我的英语不好。

暴力破解:

value = "00:15:47"  # taken from csv

if value < "00:16:00":
    # handle smaller values
else:
    # handle bigger values