GUI Frameworks in Python?

Peter Hansen peter at engcorp.com
Fri Apr 2 17:40:31 EST 2004


Peter Hansen wrote:

> Hugh Macdonald wrote:
> 
>> I just wrote the following simple script:
>>
>> -------------------------------------------------
>> #!/software/python/python2.2.2/linux/bin/python
>> import time
>> startTime = time.time()
>> from wxPython.wx import *
>> print "Time:",time.time()-startTime
>> -------------------------------------------------
>>
>> On running multiple times, I get the following outputs:
>>
>> Time: 4.60863804817
>> Time: 3.26165890694
>> Time: 3.24744296074
>> Time: 3.26767706871
>> Time: 3.25304102898
> 
> Running that repeatedly (sorry, can't reboot conveniently
> right now, so can't get the first time) it takes 0.125 s
> on my machine.

Just upgraded to the newly released (thank you so very much
for all your work Robin Dunn... now get back to that book! ;-)
2.5.1.5 to compare, sort of, with Chris Perkins' results.

Now it consistently takes 0.20 seconds to run the above on
my machine...  how very odd.

-Peter



More information about the Python-list mailing list