Aug-24-2018, 06:17 PM
(This post was last modified: Aug-24-2018, 06:17 PM by Gribouillis.)
Second trouble: this code uses a module
It is also possible that
timer
which we don't know where it comes from. However, I suspect it is this module from the cheeseshop, which runs this C code. As you can see in function Timer_new()
, it takes at least 2 arguments: a time in microseconds and a python callback.It is also possible that
from timer import Timer
invokes a different module on the author's computer and this timer module on yours, which would explain the error.