Re: [pysystray-users] @systray.threaded Error when running sample.py
Status: Beta
Brought to you by:
essiene
From: Sajjad H. <shu...@ya...> - 2006-05-29 18:05:58
|
Hi, All of my company's software is written with version 2.3.3. So it is very important that any tool, script we write must be consistent with that version. I don't want to break (not a likely chance) any of my code by switching version. Anyways, is there a work around to this problem? It would really shorten my work if I integrate pysystray in my project. Regards, Sajjad --- Essien Ita Essien <es...@da...> wrote: > Hi, > > Sorry for replying late... just came back from a > loooong weekend (public > holiday here :D) > > Sajjad Hussain wrote: > > 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 > > > Hmmm... it seems Python 2.3 doesn't support > decorators (that's the > syntax for decorators)? You should use Python 2.4 or > newer. Any reason > you're using 2.3? > > Cheers, > Essien > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without > the Cost and Risk! > Fully trained technicians. The highest number of Red > Hat certifications in > the hosting industry. Fanatical Support. Click to > learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > pysystray-users mailing list > pys...@li... > https://lists.sourceforge.net/lists/listinfo/pysystray-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |