Using select.kqueue to monitor garageband transcode completion

2011-01-25 Thread harijay
understand what the events mean . Looking for help to monitor the file closing using select.kqueue. Thanks Hari My Pseudocode for clunky monitoring of file i/o completion: while True: try: today_file = open("todays_recording.mp3","r") my_custom_funct

Re: Using select.kqueue()

2009-09-02 Thread Ritesh Nadhani
Indeed, I was facing that issue. Appplying the patch to the select26 module now works. Also, I had to change: kq.control([]...) to kq.control(ev, ...) Not sure what happens when you pass None as the first parameter. On Tue, Sep 1, 2009 at 5:47 AM, wrote: > On 07:51 am, rite...@gmail.com wro

Re: Using select.kqueue()

2009-09-01 Thread exarkun
On 07:51 am, rite...@gmail.com wrote: Hi I am trying to use kqueue. Since, I am on v2.5, I use the baclport: http://pypi.python.org/pypi/select26/0.1a3. Following the example at: http://julipedia.blogspot.com/2004/10/example-of-kqueue.html (which works perfectly as it tells all events), I tried

Using select.kqueue()

2009-09-01 Thread Ritesh Nadhani
Hi I am trying to use kqueue. Since, I am on v2.5, I use the baclport: http://pypi.python.org/pypi/select26/0.1a3. Following the example at: http://julipedia.blogspot.com/2004/10/example-of-kqueue.html (which works perfectly as it tells all events), I tried to port it to Python: http://www.bpast