[Python-ideas] Rewriting file - pythonic way

Alexey Shrub ashrub at yandex.ru
Mon Apr 16 08:49:02 EDT 2018


https://pypi.python.org/pypi/in-place
 > * Instead of hijacking sys.stdout, a new filehandle is returned for 
writing.
 > * The filehandle supports all of the standard I/O methods, not just 
readline().

why fileinput did not support this things?



More information about the Python-ideas mailing list