View Problem

Process each file in a directory

DiskEdit
python 2.4
import os
results = (process(f) for f in os.listdir(".") if os.path.isfile(f))

Submit a new solution for python
There are 16 other solutions in additional languages (clojure, cpp, csharp, erlang ...)