perhaps a loop, similar to this: while 1: #insert program here print 'run again? (Y/N)' answer = raw_input('>>>') if (answer == 'n') or (answer == 'N'): break -- "Avoid the Gates of Hell. Use Linux" Thomi Richards, thomi@imail.net.nz