[Tutor] Sleeping it out

Eric Brunson brunson at brunson.com
Sun Dec 9 02:19:12 CET 2007


Alan Gauld wrote:
> "Eric Brunson" <brunson at brunson.com> wrote
>
>   
>> Yes, import sys, then sys.stdout.flush() when you need it.
>>     
>
> This was my initial idea but it doesn't work in the IDE because
> it is not really using sys.stdout. In fact the normal print works
> fine from the command prompt (at least in XP)
>
> Alan G.
>   

Ah, I didn't realize that pyalamode was an IDE.  Just one more reason to 
stick with emacs as my development IDE.  :-)



More information about the Tutor mailing list