Running Python code contained in a string

前端 未结 4 1516
终归单人心
终归单人心 2020-12-03 12:32

I\'m writing a game engine using pygame and box2d, and in the character builder, I want to be able to write the code that will be executed on keydown events.

My plan

4条回答
提交回复
热议问题