ctaget_test_resulttest_idtest_resultustart_time的结果是u2023-07-24T200157+0800File UsersjiaotongyuDesktopjiaoh5-monkeysend_throughputpy line 146 in process_logdata dt = datetimestrptimectaget_test_resu
这个错误是因为datetime模块没有strptime方法。你可能导入的是其他模块,而不是Python标准库中的datetime模块。
要解决这个问题,你需要确认你正确导入了datetime模块。请确保你的代码中包含以下导入语句:
from datetime import datetime
这将导入Python标准库中的datetime模块,并使strptime方法可用。
原文地址: http://www.cveoy.top/t/topic/ixIU 著作权归作者所有。请勿转载和采集!