GUI Frameworks in Python?

Peter Hansen peter at engcorp.com
Tue Mar 30 12:17:47 EST 2004


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.

-Peter



More information about the Python-list mailing list