wx.App(redirect=False, filename=None, useBestVisual=False,
clearSigInt=True)
The four optional keyword arguments are as follows:
- redirect: If set to True, stdout is redirected to a debug window
- filename: If redirect is True and this is not None, then stdout can be redirected
to a file specified by this argument
- useBestVisual: This specifies whether the application should try to use the best
visuals provided by the underlying toolkit. (This has no effect on most systems.)
- clearSigInt: Setting this to True will allow the application to be terminated by
pressing Ctrl+C from the command line.