Re: [Pyobjc-dev] print to console
Brought to you by:
ronaldoussoren
|
From: Nathan <nat...@gm...> - 2008-07-18 15:18:09
|
On Thu, Jul 17, 2008 at 8:06 AM, post <po...@ty...> wrote:
> hi
>
> i want to be able to see a direct update of the log in console.app
> when I "print 'something'" in my app.
> The print statement only appears in console after i quit my app.
> I also tried NSLog("something") but that also appears after I quit my
> app.
> Im using the 10.5 python.
>
> is there a way to see the print statement directly into the console?
> thanks
Have you tried sys.stdout.flush() after your print statements? (Just
throwing out ideas...)
~ Nathan
|