Re: [Pyobjc-dev] print to console
Brought to you by:
ronaldoussoren
|
From: s s <li...@in...> - 2008-07-18 16:09:25
|
Is the output possibly being done in a thread?
S
On Jul 18, 2008, at 11:18 AM, Nathan wrote:
> 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
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Pyobjc-dev mailing list
> Pyo...@li...
> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
|