pythonw.exe and python.exe

W

whatazor

Hi all,
I made a little application with multithreading in winxp with
python2.5. An event generated from a third part software is the
trigger for the creation of progress bar in a wxPython app. This
python app is launched via wxExecute.
I've noticed a different behaviour if the script is launched with
python.exe and pythonw.exe (i.e. without dos shell), in fact in the
first case it's all ok, while in the other case only the first, the
third , the fifth ... progress bar is setted correctly and update its
value.
Now, before control again the code , what can be the origin of the
problem? why python and pythonw give a result so different?

thank you
w
 
T

Tim Roberts

whatazor said:
I made a little application with multithreading in winxp with
python2.5. An event generated from a third part software is the
trigger for the creation of progress bar in a wxPython app. This
python app is launched via wxExecute.
I've noticed a different behaviour if the script is launched with
python.exe and pythonw.exe (i.e. without dos shell), in fact in the
first case it's all ok, while in the other case only the first, the
third , the fifth ... progress bar is setted correctly and update its
value.
Now, before control again the code , what can be the origin of the
problem? why python and pythonw give a result so different?

There is not nearly enough information for us to diagnose the problem here.
Note, however, that in Windows, all GUI stuff must be done from the main
thread, because that's where window events are delivered.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top