Steven Bethard wrote: > bruno modulix wrote: (snip) >> ext = os.path.splitext(filename) > > Check the docs[1]. This should probably read: > _, ext = os.path.splitext(filename) Of course. Au temps pour moi. -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in 'onurb at xiludom.gro'.split('@')])"