Yeah, I was surprised to see fileinput on the list. It's indeed a handy little tool.
On Mon, May 20, 2019 at 5:19 PM Inada Naoki <songofaca...@gmail.com> wrote: > I use fileinput for several times per year. > > fileinput is handy tool to write single script file to analyze log files. > > * In such tools, I don't need real argument parser. > * Some log files are compressed and some are not. > It seems argparse doesn't support transparent decompression. > * I don't want to use 3rd party library for such single script files. > > I'd like to add transparent decompression to argparse if fileinput > is deprecated. > > Regards, > > -- > Inada Naoki <songofaca...@gmail.com> > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/guido%40python.org > -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him/his **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com