Re: Another request for comments on beginner code

Jeffrey Templon (templon@paramount.nikhefk.nikhef.nl)
Wed, 9 Mar 1994 10:28:14 +0100 (MET)

Hi,

> That was fun. Maybe Jeffrey would like to take a whack at making this a
> "general ps-based server" kind of thing? E.g., move the grep into the
> Python portion, offer different views of the info, draw a process tree
> based on connecting PID & PPID info, send signals based on selection
> criteria, look for resource hogs, develop an interactive mode with a
> simple command language ... Python shines brighter the messier the task
> gets.

Um. No. Maybe someday. I mostly got into Python because I keep
running into the limitations of GAWK/nawk; as long as the
"loop of input lines" model is roughly met, nawk can't be beat,
you'll never convince me otherwise; I did about 50% of the
data analysis for my thesis with GAWK. But once you go a
little further, gawk becomes a pain real fast ... putting
everything in the BEGIN or END clauses, managing your own
input, blah blah.

I don't think I'll become a class writer just yet. Maybe next
year. Although I have this nagging temptation to write a
good data analysis program using Python ... all we have here
is PAW which is a major pain.

JT