> doesn't do_nothing(), but does something more interesting, something like:
>
> #########################################
> view = View()
> view.on_button_pressed = os.getcwd
> #########################################


Gaaa.  Quick revision:

##################################
def print_cwd():
     print os.getcwd()

view = View()
view.on_button_pressed = print_cwd
##################################

Anywhere in my previous message that uses os.getcwd() as the model should 
be fixed to use print_cwd().  Sorry about that!
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to