A comp.lang.python code snippet archive?
Moshe Zadka
moshez at math.huji.ac.il
Wed Mar 1 13:35:35 EST 2000
On Tue, 29 Feb 2000, Hans Nowak wrote:
> Maybe some kind of "Python code detector" could be helpful, if only for a
> first rough scan of all the messages. I have no idea how to do this though.
> (In Perl it's easy, you simply check if the number of $'s is above
> average... <wink>) Maybe it should look for reserved words like def or
> import? But a snippet is not guaranteed to include those words, and a
> message which does use them is not guaranteed to have Python code. =/
>
> Ideas, anyone?
Yes: why not have a pysnippets at something.something, which you can CC
on any message, and have it automatically appear in a snippets page? I
know I wouldn't mind adding the CC: for snippets I post.
--
Moshe Zadka <mzadka at geocities.com>.
INTERNET: Learn what you know.
Share what you don't.
More information about the Python-list
mailing list