CrossNodes: Scripting Clinic: Dissecting a Live Python... Script
May 28, 2004, 05:30 (0 Talkback[s])
(Other stories by Carla Schroder)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Benjamin
R. for this link. ]
"Last time we covered some Python fundamentals, and exposed the
seekrit tricks and traps that foil new Python users. This month
we're going to dissect a nice Python script line-by-line, that you
may learn something useful thereby, then go forth and script some
more. It is called 'pyfind.'
"pyfind is brought to you courtesy of ace coder Akkana Peck,
whose expertise made this tutorial possible. It searches for groups
of file types with a single command. In this example, it searches
for image files, or for many types of Web files. It is easily
modifiable to search for whatever your heart desires..."