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
> -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
>
> -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?
>
> -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
> -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
> -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
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
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
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