Ok, now I see. I mistakenly assumed that this would involve pipes and such. Thanks! Tom > > That would be very ugly, wouldn't it? > > Uh, why? > > lines = os.popen("ls -l").readlines()