subprocess : AttributeError: 'Popen' object has no attribute 'read'

Chris Angelico rosuav at gmail.com
Thu Jan 3 15:40:15 EST 2019


On Fri, Jan 4, 2019 at 7:37 AM Mohan Mohta <mohan.mohta at gmail.com> wrote:
> I am no expert in python but I found grep is lot faster in than the methods of reading files from python.... point me to direction if you know of anything faster I would appreciate it.
>

Try doing things the simple and easy way in Python, then figure out if
it's too slow. Only THEN should you worry about "faster".

ChrisA



More information about the Python-list mailing list