Re: [python-win32] python print statements

2009-01-08 Thread King Simon-NFHD78
I don't think anyone's mentioned the python logging package, which is good for general purpose logging. However, since you want to do this without changing all your print statements: In Python 2.x, you can probably reassign sys.stdout. As long as you aren't outputting anything else to stdout, this

Re: [python-win32] SetWindowTheme for Vista

2009-01-16 Thread King Simon-NFHD78
> -Original Message- > From: python-win32-bounces+simon.king=motorola@python.org > [mailto:python-win32-bounces+simon.king=motorola@python.or > g] On Behalf Of Mike Driscoll > Sent: 16 January 2009 15:34 > To: Python-Win32 List > Subject: [python-win32] SetWindowTheme for Vista >

Re: [python-win32] OnCtlColor not working?

2009-03-02 Thread King Simon-NFHD78
> -Original Message- > From: python-win32-bounces+simon.king=motorola@python.org > [mailto:python-win32-bounces+simon.king=motorola@python.or > g] On Behalf Of Mike Driscoll > Sent: 02 March 2009 14:18 > To: Python-Win32 List > Subject: Re: [python-win32] OnCtlColor not working? >

Re: [python-win32] executing dos commands

2009-03-06 Thread King Simon-NFHD78
> -Original Message- > From: python-win32-bounces+simon.king=motorola@python.org > [mailto:python-win32-bounces+simon.king=motorola@python.or > g] On Behalf Of Graeme Glass > Sent: 06 March 2009 12:08 > To: python-win32@python.org > Subject: Re: [python-win32] executing dos command

Re: [python-win32] regarding invoking command prompt using python

2009-06-18 Thread King Simon-NFHD78
> -Original Message- > From: python-win32-bounces+simon.king=motorola@python.org > [mailto:python-win32-bounces+simon.king=motorola@python.or > g] On Behalf Of Vernon Cole > Sent: 18 June 2009 16:05 > To: Roger Upole > Cc: python-win32@python.org > Subject: Re: [python-win32] regar

Re: [python-win32] MAPI with win32com

2010-03-22 Thread King Simon-NFHD78
> -Original Message- > From: python-win32-bounces+simon.king=motorola@python.org > [mailto:python-win32-bounces+simon.king=motorola@python.or > g] On Behalf Of pyt...@bdurham.com > Sent: 22 March 2010 13:11 > To: Werner F. Bruhin; zz Python Win32 Newsgroup > Subject: Re: [python-wi

[python-win32] os.startfile mysteriously failing

2008-04-21 Thread King Simon-NFHD78
Hello all, I am developing an application that, amongst other things, exports files and then launches them in their associated applications using os.startfile. It also uses webbrowser.open, which I see uses os.startfile. Everything works on my PC and on all the other PCs in the office that I have

Re: [python-win32] os.startfile mysteriously failing

2008-04-21 Thread King Simon-NFHD78
Tim Golden wrote: > King Simon-NFHD78 wrote: > > Hello all, > > > > I am developing an application that, amongst other things, > exports files > > and then launches them in their associated applications using > > os.startfile. It also uses webbrowser.ope

Re: [python-win32] os.startfile mysteriously failing

2008-04-22 Thread King Simon-NFHD78
Thomas Heller wrote: > > Some remarks that may or may not be useful: > > AFAIK, a single threaded COM apartment needs to run a message loop, > according to the COM rules. If the OP has a gui-application, and > calls os.startfile from the main thread, then this should be > no problem. > > If he