Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38170
| From | Lele Gaifax <lele@metapensiero.it> |
|---|---|
| Subject | Re: autoflush on/off |
| Date | 2013-02-05 08:40 +0100 |
| Organization | Nautilus Entertainments |
| References | <CAOuJsMmQ55vjG_TYU2iPNHeA=b-kGX+cWa2xFDXp4j6WfQAp3Q@mail.gmail.com> <kep8as$c12$1@ger.gmane.org> <CAOuJsM=Xv-VH_Jr0jh-1ysnbFAAn8WL+dNd+23Qh+6yZXgO-cQ@mail.gmail.com> <keq9nk$qv2$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1355.1360050070.2939.python-list@python.org> (permalink) |
Terry Reedy <tjreedy@udel.edu> 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. lele@metapensiero.it | -- Fortunato Depero, 1929.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: autoflush on/off Lele Gaifax <lele@metapensiero.it> - 2013-02-05 08:40 +0100
csiph-web