How do I disable PythonWin's “Redirecting output to win32trace remote collector” feature without uninstalling PythonWin?

When I run a wxPython application, it prints the string “Redirecting output to win32trace remote collector”and I must open PythonWin's trace collector tool to view that trace output.

Since I'm not interested in collecting this output, how should I disable this feature?

Answers


You can even pass that when you instantiate your wx.App():

if __name__ == "__main__":
    app = wx.App(redirect=False) #or 0
    app.MainLoop()

wxPython wx.App docs


It seems to be an Problem with TortoiseHG. It also happens when using win32gui.GetOpenFileNameW. Uninstalling solves this problem. Unfortunately i found no real solution how to fix this.


Need Your Help

System.IO.UTF8 not found (installing PureScript)

haskell utf-8 cabal purescript

I'm trying to install PureScript on Ubuntu 14.04. I have the latest version of Haskell-Platform and have run cabal update. During cabal install purescript I get an error saying that the module

Show first tab on login

iphone ios sdk login

Upon login, I would like to program so that it shows the first tab. It does that when I first run the app but when I logout and log in again, it shows the second tab which is where the logout optio...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.