> it's for wx, the problem isn't making the progress bar itself, it's
> knowing how long the query is going to run for.
> i'm using pypgsql
It is quite easy:
from timemachine import oracle
guesser=oracle(guess="SQL")
guesser.set_hint(driver="pypgsql")
guesser.set_hint(gui="wx")
expected_runtime=guesser.estimate("<put your query text here>")
Only problem is that the timemachine module is currently only installed
on Guidos and Tims Python.
Harald
--
http://mail.python.org/mailman/listinfo/python-list