query progress bar
Timothy Smith
timothy at open-networks.net
Tue May 17 02:06:12 EDT 2005
Harald Massa wrote:
>>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
>
>
man thats exactly what i'm looking for. it won't install on standard 2.3 ?
More information about the Python-list
mailing list