In message [EMAIL PROTECTED], Stef
Mientki wrote:
Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED], Stef
Mientki wrote:
I'm really amazed by the speed of Python !!
It can only be beaten by findstr, which is only available on windows.
Did you try find -exec grep -F?
well my
In message [EMAIL PROTECTED], Stef
Mientki wrote:
- Pyscripter 110 sec ( PyScripter is the default IDE I use now)
- Delphi 20 .. 35 sec
- Findstr 4 sec
What order did you try try them in? Did you try each one more than once, in
different orders? Just to rule out filesystem caching effects.
In message
[EMAIL PROTECTED], George
Sakkis wrote:
$ find -name *py | xargs egrep \bword\b
Better:
find -name '*.py' -exec grep -E \bword\b {} \;
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED], Stef
Mientki wrote:
- Pyscripter 110 sec ( PyScripter is the default IDE I use now)
- Delphi 20 .. 35 sec
- Findstr 4 sec
What order did you try try them in? Did you try each one more than once, in
different orders? Just to
On Sep 29, 5:16 am, Lawrence D'Oliveiro [EMAIL PROTECTED]
central.gen.new_zealand wrote:
In message
[EMAIL PROTECTED], George
Sakkis wrote:
$ find -name *py | xargs egrep \bword\b
Better:
find -name '*.py' -exec grep -E \bword\b {} \;
In what way is this better ? I don't dispute it,
Hi !
Thanks for return.
Some infos: from a long time, I found that it's often more fast to use
windows's command, instead of develop in high level language (and also,
low level...)
FINDSTR is fast. OK. But internal commands are more fast. Example : DIR
(with all his options)
And it's
hello,
I want to search multiple textfiles (python source files) for a specific
word.
I can find all files, open them and do a search,
but I guess that will be rather slow.
I couldn't find any relevant information through google.
Does anyone know of a search library that performs this task
On Sep 26, 8:35 am, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I want to search multiple textfiles (python source files) for a specific
word.
I can find all files, open them and do a search,
but I guess that will be rather slow.
I couldn't find any relevant information through google.
On Sep 26, 9:35 am, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I want to search multiple textfiles (python source files) for a specific
word.
I can find all files, open them and do a search,
but I guess that will be rather slow.
I couldn't find any relevant information through google.
Hi!
On Windows, you can use the (standard) command findstr
Example:
findstr /n /s /I strsearched *.py
@-salutations
--
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Stef Mientki [EMAIL PROTECTED] writes:
Does anyone know of a search library that performs this task fast ?
You mean you want a Python search engine (with inverted indexes and all that)?
Try: nucular.sf.net
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 26, 6:35 am, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I want to search multiple textfiles (python source files) for a specific
word.
I can find all files, open them and do a search,
but I guess that will be rather slow.
I couldn't find any relevant information through google.
Mike Driscoll wrote:
On Sep 26, 8:35 am, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I want to search multiple textfiles (python source files) for a specific
word.
I can find all files, open them and do a search,
but I guess that will be rather slow.
I couldn't find any relevant
13 matches
Mail list logo