Re: autoflush on/off

Discussion in 'Python' started by Lele Gaifax, Feb 5, 2013.

  1. Lele Gaifax

    Lele Gaifax Guest

    Terry Reedy <> writes:

    > It looks like you should perhaps just forget about reopening and just
    > use sys.stdout.flush(). This works fine even on IDLE.


    As an alternative, can't you just use sys.stderr for printing such
    feedback? sys.stderr is unbuffered by default...

    ciao, lele.
    --
    nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
    real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
    | -- Fortunato Depero, 1929.
     
    Lele Gaifax, Feb 5, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Herman Chan

    CGI autoflush in Window

    Herman Chan, Oct 9, 2003, in forum: Perl
    Replies:
    0
    Views:
    581
    Herman Chan
    Oct 9, 2003
  2. Jabba Laci

    autoflush on/off

    Jabba Laci, Feb 4, 2013, in forum: Python
    Replies:
    2
    Views:
    105
  3. Terry Reedy

    Re: autoflush on/off

    Terry Reedy, Feb 4, 2013, in forum: Python
    Replies:
    0
    Views:
    95
    Terry Reedy
    Feb 4, 2013
  4. Jabba Laci

    Re: autoflush on/off

    Jabba Laci, Feb 5, 2013, in forum: Python
    Replies:
    2
    Views:
    129
    Piet van Oostrum
    Feb 5, 2013
  5. Terry Reedy

    Re: autoflush on/off

    Terry Reedy, Feb 5, 2013, in forum: Python
    Replies:
    0
    Views:
    129
    Terry Reedy
    Feb 5, 2013
Loading...

Share This Page