> certain structure (I used shell globbing to do this, but could easily > use Python's regexes, Better to use the glob module > it's already written), but how can I access my shell from a Python > script? os.system() or if you want to read the output look at os.popen() and popen2 etc... HTH Alan g