On Wed, 29 Sep 1999 14:47:07 +0200, Pierre Saloni wrote: > I would like to know how to use a non bloking IO, like print. > In perl I would have used $|=0 to set the non blockng mode. > What should I use in python ? If you mean flushing after every output operation (i.e. unbuffered I/O), then simply call python with the -u argument: python -u myprogram.py This should do the trick. -- Constantinos A. Kotsokalis - C.Kotsokalis at ece.ntua.gr - NTUA - ECE Dept. "The three Rs of Microsoft support: Retry, Reboot, Reinstall."
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4