Big help guys, thanks. There does seem to be a problem with Pythons IDLE. If I run my oridgional program from a dos shell I can hit Ctrl-C and free up the procesor, But running it in IDLE just locks up the computer. Bad Windows. Thanks for the help with a more efficent algorythm. David KG2LI