eval 如何定义函数时间:2021-09-10 06:29:21eval(compile('''def fun(): print 'bbb' ''', '<string>', 'exec')) fun()