report progress from C function

Michael S msherman77 at yahoo.com
Tue Oct 31 17:09:30 EST 2006


Good day all.

I rewrote part of my program in C, it's a usually a
long task. I wanted to be able to report the progress
back to my python program. In  my module (in addition
to the function that performs the above-mentioned
task) there is a function that returns the variable,
indicating the progress. However I am not sure how to
call it. Once I call the C function that does the work
(it's a while loop that takes minutes sometimes) I
can't call that progress function.  
Any ideas?

Thanks in advance,
Michael



More information about the Python-list mailing list