En Sat, 16 Jun 2007 10:22:34 -0300, Stef Mientki <[EMAIL PROTECTED]> escribió:
> for the simulation of some micro language (JAL), > the original language is (with a minimal effort) translated into Python, > after which the code is run in Python. > > I want to add a call to a debug routine, > called JSM(linenr), which performs task like wait, update user feedback, > etc. > This works, but doesn't give a nice output > <Python attempt 2> > for xxx in xrange ( 16 * hardware_column ): > JSM(78) > Write_LCD_2Bytes ( write_text , 0 ) ;JSM(79) > </Python attempt 2> Try sys.settrace() -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list