[pysystray-users] @systray.threaded Error when running sample.py
Status: Beta
Brought to you by:
essiene
From: Sajjad H. <shu...@ya...> - 2006-05-26 20:47:00
|
Hi everyone, I have just installed systray-0.6.1.win32.exe on my PythonWin 2.3.3. I downloaded pysystray-sample-0.6.1.zip, unzipped it and tried running sample.py. I am getting this error: [/cygdrive/c/design/Miscellaneous/ Taskbar/pysystray-sample-0.6.1]: python sample.py File "sample.py", line 17 @systray.threaded ^ SyntaxError: invalid syntax When I comment this line out and instead insert the line systray.threaded, I get this error: [/cygdrive/c/design/Miscellaneous/Taskbar/ pysystray-sample-0.6.1]: python sample.py Traceback (most recent call last): File "sample.py", line 2, in ? from systray import systray File "C:\Python23\Lib\site-packages\systray\systray.py", line 13, in ? import bases File "C:\Python23\lib\site-packages\systray\bases.py", line 173 @utils.threaded Can you please let me know what I am doing wrong. Thanks, Sajjad __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |