wxPython fast and slow
iu2
israelu at elbit.co.il
Fri Mar 6 09:41:16 EST 2009
Hi guys,
Can you please help me with this:
I wrote a little game in wxPython where I move small panels (showing
bitmaps (100 x 100)) on the screen.
This is similar to the code I wrote:
for i in xrange(1, steps + 1):
my_panel.SetPosition(...)
time.sleep(0.1 / steps)
I use PyScripter (Windows) for writing the application. While
PyScripter is active, the panels move quickly. But when I exit
PyScripter and execute the script from the explorer or the command
line, the panels move very slowly.
Do you have any idea of what is going wrong?
Thank you very much
iu2
More information about the Python-list
mailing list