有点弄不明白,已经安装好驱动,测试了一个样例,可以正常运行,但是不知道为什么运行这个代码就是不行,点开始之后出现一堆报错信息,请大佬帮忙看看,报错如下:
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Program Files\Python38\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "main.py", line 40, in
b1 = Button(win, text = '开始', command = lambda: run_killer(txt, txt2))
File "main.py", line 14, in run_killer
ChromeDrive(seckill_time = seckill_time, password = password).sec_kill()
File "F:\vscode\taobao_seckill\seckill\seckill_taobao.py", line 49, in init
self.seckill_time_obj = datetime.strptime(self.seckill_time, '%Y-%m-%d %H:%M:%S')
File "D:\Program Files\Python38\lib_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "D:\Program Files\Python38\lib_strptime.py", line 352, in _strptime
raise ValueError("unconverted data remains: %s" %
ValueError: unconverted data remains: .137638