[code 1](rhello.py) 01: #! /usr/bin/env python 02: 03: import Tkinter as Tk 04: import random as R 05: 06: 07: class Label(Tk.Label): 08: def __init__(self, master=None): 09: Tk.Label.__init__(self, master, text='Hello world!', font=('Helvetica', '24', 'bold')) 10: self.bind_all('<1>', self.bg_change) 11: 12: def bg_change(self, event): 13: r = R.randint(0,255) 14: g = R.randint(0,255) 15: b = R.r