On Thu, Feb 21, 2002 at 12:02:08PM +0000, Michael Hudson wrote: > if file.endswith("c"): > file = file[:-1] if file.endswith("c"): file = file[:-1] elif file.endswith("o"): file = file[:-1] Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN.