Return Values & lambda

pradeepbpin pradeepbpin at gmail.com
Mon Feb 21 13:59:02 EST 2011


I have a main program module that invokes an input dialog box via  a
menu item. Now, the code for drawing and processing the input of
dialog box is in another module, say 'dialogs.py'. I connect the menu
item to this dialog box by a statement like,

manu_item.connect('activate', lambda a: dialogs.open_dilaog())

If this function open_dialog() returns a list of dialog inputs values,
how can I access those values in the main module ?



More information about the Python-list mailing list