def execute(self):
		""" The TM will keep stepping forever until the TM accepts or rejects.
		    This does allow for looping TM's """
		try:
			while 1:
				m.tape.show()
				m.step()
		except (TuringErrorException, TuringAcceptException), s:
			print s
 The TM will keep stepping forever until the TM accepts or rejects.
		    This does allow for looping TM's 
recipes/Python/252486_Turing_Machine_Simulator/recipe-252486.py