David LeBlanc <whisper at oz.nospamnet> wrote in message news:<9g8gkk$cir$1 at 216.39.170.247>... [... code deleted ...] > spaces = tabs[0:(depth * 2)] # kludge - there's a better way, > # but i'm not clear on how to use it. maybe do something along the lines of: spaces = " " * (depth*2) instead? Tom