Python Special Syntax 12: 伟大的动态执行2024-01-02 15:55:58 exec语句用来执行动态的Python语句 exec ‘print "Hello World"‘输出: Hello World eval用来计算表达式: eval(‘2*3‘)结果:6 Python Special Syntax 12: 伟大的动态执行,布布扣,bubuko.com Python Special Syntax 12: 伟大的动态执行上一篇:OpenGL.Tutorial16_ShadowMapping下一篇:Spring RESTful Web Services