[wxPython-users] Re: wPython in Action: example chapter 1
Kevin Horton
khorton01 at rogers.com
Fri Apr 20 18:18:20 PDT 2007
On 20 Apr 2007, at 20:11, Robin Dunn wrote:
> 7stud wrote:
>>> Right - I am pretty sure what you want is:
>>>
>>> wx.App.__init__(self, False)
>>>
>> Darn! Somewhere I read that the default value for 'redirect'
>> is False. However, when I explicitly use False, the error messages
>> go to my console window. Thanks!
>
> It depends on platform. It's False on wxGTK because people are
> typically launching from a console window there, at least during
> development. On Windows and Mac it defaults to True because folks
> are a little more likely to launch with a double click of the .py
> [w] file.
Is there a global way to change the default for all scripts run on a
particular computer?
Kevin Horton
Ottawa, Canada
More information about the wxpython-users
mailing list