Hi Magnus, > os.popen('ls -l').readlines() Yes, that works thanks ... now if I could only figure how to make a string with a single backslash I should be sorted! James C. Rocks Equant Archway House Canary Wharf London E14 9SZ