如何完整卸载wxpython_如何在不卸载PythonWin的情况下禁用PythonWin的“将输出重定向到win32trace远程收集器”功能?(How do I disable PythonWin...

如何在不卸载PythonWin的情况下禁用PythonWin的“将输出重定向到win32trace远程收集器”功能?(How do I disable PythonWin's “Redirecting output to win32trace remote collector” feature without uninstalling PythonWin?)

当我运行wxPython应用程序时,它会打印字符串“将输出重定向到win32trace远程收集器”,我必须打开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?

原文:https://stackoverflow.com/questions/306901

更新时间:2019-12-15 08:57

最满意答案

您甚至可以在实例化wx.App()时传递它:

if __name__ == "__main__":

app = wx.App(redirect=False) #or 0

app.MainLoop()

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

if __name__ == "__main__":

app = wx.App(redirect=False) #or 0

app.MainLoop()

2008-11-20

相关问答

pythonwin的官网为http://sourceforge.net/projects/pywin32/, 可以在官网上下载。 下载地址为http://sourceforge.net/projects/pywin32/files/latest/download

pythonwin的官网为http://sourceforge.net/projects/pywin32/, 可以在官网上下载。 下载地址为http://sourceforge.net/projects/pywin32/files/latest/download

集成开发环境: 专门为Python设计的IDE软件: ● IDLE:Python“标准”IDE ● Komodo和Komodo Edit:后者是前者的免费精简版 ● PythonWin:ActivePython软件包的IDE,仅适用于Windows ● SPE(Stani's Python Editor):功能较多的自由软件,依赖wxPython ● Ulipad:功能较全的自由软件,依赖wxPython;作者是中国Python高手limodou ● WingIDE:可能是功能最全的IDE,但不是

...

1、Win32顾名思义就是MS的Windows应用,针对Windows平台对Python做的扩展,和其它Python的本地化扩展类似,比如使用pyhook时,需要访问 win32 api ,所以需要安装一个python-win32 2、COM是MS的公共对象模型,号称跨平台的,但是只有它自己的实现,COM是实现OLE的基础,应用的一个范例就是ActiveX,浏览器的Flash插件就是在这种模式下运行

我明白了这一点,并认为我会在这里发布答案以供其他人参考。 所以我已经完全解释了这个问题,我将深入探讨真实世界的情景。 我们有一个中等规模的软件,要求我们有多个支持应用程序,可以在多个不同的服务器上运行。 我们目前的升级进度使得以可靠的方式升级代码变得相当困难。 目前我们使用自解压exe来将我们的代码展示给不同的服务器。 当我们拥有如此大量的支持应用程序以至于很难确保使用正确的配置设置正确安装应用程序等时,问题就出现了。为了解决这个问题,我们正在研究能够代替压缩每个应用程序在支持的应用程序中,我们创

...

对不起,我不太了解python。 但是,以下内容应该有所帮助。 Excel的Application对象有一个Run方法 - 它接受宏的名称及其参数。 让我们假设工作簿有一个名为test的宏。

Sub test(ByVal i As Integer)

MsgBox "hello world " & i

End Sub

您可以使用Application.Run“test”,1234来调用它 这将调用宏并显示消息框“hello world 1234”。 I am sorry, I dont kno

...

您甚至可以在实例化wx.App()时传递它: if __name__ == "__main__":

app = wx.App(redirect=False) #or 0

app.MainLoop()

wxPython wx.App文档 You can even pass that when you instantiate your wx.App(): if __name__ == "__main__":

app = wx.App(redirect=False) #or 0

...

经过大量研究和修补各种选项后,我终于开始工作了。 该问题与我们使用我们的软件发布的一些服务有关。 这些服务在安装过程中没有停止。 为了解决这个问题,我们将每个组件的“共享”选项设置为“否” ,并将每个组件 的组件代码(GUID)更改为与上一年版本不同 。 After much much research and tinkering with various options I've finally got it working. The issue was related to a few ser

...

这看起来像一个回归 - 它不会发生在D1(DMD 1.069)。 David Simcha最近一直在优化GC,所以它可能与此有关。 请提交错误报告。 This looks like a regression - it doesn't happen in D1 (DMD 1.069). David Simcha has been optimizing the GC lately, so it might have something to do with that. Please file a bu

...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值