Andy Wu wrote: > Say I have a string 'minutes' and a integer 30, now I need to call the > func this way: func(minutes = 30), how do I do this?
d={"minutes": 30} func(**d) This is "extended call syntax". You can read more about this when you look up the (deprecated) "apply" function in the manual. --Irmen
-- http://mail.python.org/mailman/listinfo/python-list