agrep equivalent?

bvdpoel at uniserve.com bvdpoel at uniserve.com
Mon Nov 12 17:36:34 CET 2001


Matthew Dixon Cowles wrote:
> 
> On Sun, 11 Nov 2001 15:14:47 -0700, bvdpoel at uniserve.com
> <bvdpoel at uniserve.com> wrote:
> 
> >Is there an agrep or something similar module for python? Right now
> >I'm calling this though the shell, but it be cleaner to do this
> >natively...
> 
> Agrep has been wrapped as a Python module. It's at:
> 
> http://www.bio.cam.ac.uk/~mw263/pyagrep.html

Thanks. I'll look at it later.

> 
> I've used it though not lately and it seems to work fine.
> 
> You may also want to have a look at difflib which is new in Python
> 2.1's standard library. It takes a slightly different approach but
> depending on what you're doing it may also be useful.

I've not looked at this. Will do so before looking at the agrep stuff
too much. Thanks again for the pointer.

-- 
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bvdpoel at uniserve.com
WWW:   http://users.uniserve.com/~bvdpoel



More information about the Python-list mailing list