I'm trying this[python]from threading import Timer[/python]and I get this error when I try to load the addon:
Code: Select all
Traceback (most recent call last):
File "../addons/source-python/_libs/addons/manager.py", line 35, in __missing__
instance = _LoadedAddon(addon_name)
File "../addons/source-python/_libs/addons/manager.py", line 201, in __init__
addon = __import__(addon_name + '.' + addon_name)
File "../addons/source-python/./elimination/elimination.py", line 11, in <module>
from threading import Timer
File "../addons/source-python/engines/threading.py", line 6, in <module>
from time import sleep as _sleep
ImportError: No module named 'time'
How come?
![Big Grin :D](./images/smilies/biggrin.png)
EDIT: Just installed Python 3.1 on Debian and it doesn't have the module either, but imports it in threading.py...