Scott Kruger <kruger at txcorp.com> writes: > I assume that this: > if exfile.endwith("~"): continue Just spell it right exfile.endswith("~")