On Jan 30, 9:55 am, Stef Mientki <[email protected]> wrote: > def __repr__ ( self ) : > line = hex ( self.Value ) > line = line [:2] + line [2:].upper() > return line > > btw, I'm a hardware guy too, and therefor I've never understood why the > hex function returns lowercase ;-)
0xFF?? *Real* hardware guys prefer FFh or 377 :-) -- http://mail.python.org/mailman/listinfo/python-list
