[Tutor] Detecting wx

Ricardo Aráoz ricaraoz at gmail.com
Thu Feb 12 13:36:29 CET 2009


There are a couple of utilities I want to be able to run from the
command window. Now, if I'm at the command window, or Idle, or other non
wx shell I want to establish a wx app. But if I'm in pythonWin, PyCrust,
or any other wx based shell then there is a wx event loop already
running and if I create other I'll be in trouble. My question is if
there is a way in which I can detect if there is a wx event loop running
in my environment?

TIA




More information about the Tutor mailing list