pythonw.exe and python.exe

Discussion in 'Python' started by whatazor, Nov 30, 2007.

  1. whatazor

    whatazor Guest

    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
     
    whatazor, Nov 30, 2007
    #1
    1. Advertising

  2. whatazor

    Tim Roberts Guest

    whatazor <> wrote:
    >
    >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.
    --
    Tim Roberts,
    Providenza & Boekelheide, Inc.
     
    Tim Roberts, Dec 2, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Emile van Sebille

    python.exe vs pythonw.exe difference?

    Emile van Sebille, Mar 1, 2004, in forum: Python
    Replies:
    0
    Views:
    1,201
    Emile van Sebille
    Mar 1, 2004
  2. Tim Peters
    Replies:
    0
    Views:
    561
    Tim Peters
    Mar 2, 2004
  3. Thomas Heller

    Re: python.exe vs pythonw.exe difference?

    Thomas Heller, Mar 2, 2004, in forum: Python
    Replies:
    0
    Views:
    423
    Thomas Heller
    Mar 2, 2004
  4. Tim Peters
    Replies:
    1
    Views:
    6,455
    Bengt Richter
    Mar 3, 2004
  5. Chaos
    Replies:
    1
    Views:
    419
Loading...

Share This Page