【发布时间】:2010-12-13 16:50:36
【问题描述】:
def test():
print 'test'
def test2():
print 'test2'
test = {'test':'blabla','test2':'blabla2'}
for key, val in test.items():
key() # Here i want to call the function with the key name, how can i do so?
【问题讨论】:
标签: python