[Tutor] NEWBIE QUEASTION ALERT - how to restart program?

Thomi Richards thomi@thomi.imail.net.nz
Fri Dec 20 20:03:02 2002


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