[Tutor] searching out keywords...

Javier JJ python.tutorial@jarava.org
Sat, 9 Mar 2002 20:04:55 +0100


----- Mensaje original -----
De: "Kirby Urner" <urnerk@qwest.net>
Para: "Javier JJ" <python.tutorial@jarava.org>
CC: <tutor@python.org>
Enviado: viernes, 08 de marzo de 2002 19:08
Asunto: RE: [Tutor] searching out keywords...


> At 06:43 PM 3/8/2002 +0100, Javier JJ wrote:
>
> >So, if performance is important, I'd say you'd be better off using
something
> >as simple as (on a command line)
> >
> >  cat log_fie | grep keyword > badwords_file
> >
> >This is much faster :-)
>
> That's a good point.  If you have an OS that already includes
> a lot of utilities like this, you don't have to code up a
> Python thing, let alone slap a GUI over it.  Life at the
> OS command line is sooo much simpler.

Well.. I don't know about MacOS, but apart from that, you have those
utilities on Unix by default, and on Windows you can use a port  of them

http://unxutils.sourceforge.net/

:)

Works great!!

Javier

> Kirby
>
>