> > Am I missing something obvious? > > ls | python -c "for line in __import__('sys').stdin: print (line.upper())"
Ah, so I am missing something - it is possible - but 'obvious'? Do people think it should be more accessible -- http://mail.python.org/mailman/listinfo/python-list