Executing other python code

Tim Rau bladedpenguin at gmail.com
Mon Jan 28 19:18:28 EST 2008


I'm working on a game, and I'd like players to be able to define thier
ships with scripts. Naturally, I don't want to give them the entire
program as thier romping ground. I would like to invoke a seperate
interpreter for these files, and give it a limited subset of the
functions in my game. What is the best way to achieve this effect?



More information about the Python-list mailing list