timer显示没被定义
>>> t1 = MyTimer()Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
t1 = MyTimer()
NameError: name 'MyTimer' is not defined
>>> t1
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
t1
NameError: name 't1' is not defined
>>>
能发一下 class Mytimer 吗?
页:
[1]