[python-win32] GetFileVersionInfo blocks main thread

2008-04-18 Thread Rickey, Kyle W
I'm trying to get the file version of an executable file on our network. At times our network is quite slow, so to prevent blocking of my main application, I decided to put the code into a separate thread. Depending on the network speed, it can take up to 30 seconds to return. This is because of a

Re: [python-win32] scheduler function weekdaytask

2008-04-18 Thread Tim Roberts
kNish wrote: > Hi, > > scheduler.py has a function weekdaytask. It needs five parameters as > stated in the scheduler.py. weekdays and timeonday I figured out. > what is name and action, args=None, kw=None ? This is a TurboGears question, right? As such, this is not really the right place to

[python-win32] scheduler function weekdaytask

2008-04-18 Thread kNish
Hi, scheduler.py has a function weekdaytask. It needs five parameters as stated in the scheduler.py. weekdays and timeonday I figured out. what is name and action, args=None, kw=None ? BRgds, kNish = class WeekdayTask(DayTaskRescheduler, Task)