Hi, I have the following code. The last line does not print the members ("x" and "y") of 'my_bin'. I am wondering if there is a way to reload the print function for bin, so that the last line print the members of 'my_bin'.
Regards, Peng class bin: def __init__(self, x, y) : self.x = x self.y = y if __name__ == '__main__': my_bin = bin(1, 2) print my_bin -- http://mail.python.org/mailman/listinfo/python-list